]> granicus.if.org Git - python/commitdiff
remove duplicate test
authorBenjamin Peterson <benjamin@python.org>
Fri, 19 Jun 2009 22:07:47 +0000 (22:07 +0000)
committerBenjamin Peterson <benjamin@python.org>
Fri, 19 Jun 2009 22:07:47 +0000 (22:07 +0000)
Lib/test/test_with.py

index b91e0fd91d207cf41d4f535f94b50771204f931f..2dbae0e0732acaf09cb128d49454535bb65ca8c7 100644 (file)
@@ -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