From f1cccaa6b23069b1ef844dc3848b4dac3437f42e Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 19 Jun 2009 22:07:47 +0000 Subject: remove duplicate test --- Lib/test/test_with.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index b91e0fd..2dbae0e 100644 --- a/Lib/test/test_with.py +++ b/Lib/test/test_with.py @@ -283,15 +283,6 @@ class NestedNonexceptionalTestCase(unittest.TestCase, with Nested(mock_contextmanager_generator()): pass - def testSingleArgUnbound(self): - mock_contextmanager = mock_contextmanager_generator() - mock_nested = MockNested(mock_contextmanager) - with mock_nested: - self.assertInWithManagerInvariants(mock_contextmanager) - self.assertInWithManagerInvariants(mock_nested) - self.assertAfterWithManagerInvariantsNoError(mock_contextmanager) - self.assertAfterWithManagerInvariantsNoError(mock_nested) - def testSingleArgBoundToNonTuple(self): m = mock_contextmanager_generator() # This will bind all the arguments to nested() into a single list -- cgit v0.12