From: Benjamin Peterson Date: Fri, 19 Jun 2009 22:07:47 +0000 (+0000) Subject: remove duplicate test X-Git-Tag: v2.7a1~929 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1cccaa6b23069b1ef844dc3848b4dac3437f42e;p=thirdparty%2FPython%2Fcpython.git remove duplicate test --- diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index b91e0fd91d20..2dbae0e0732a 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