summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-19 22:07:47 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-19 22:07:47 (GMT)
commitf1cccaa6b23069b1ef844dc3848b4dac3437f42e (patch)
tree114b7233bbc6fc19a7929313eabe70927c6189b8
parent8c826b77e033df4e0a1b4ae39c9eafe3bd68336d (diff)
downloadcpython-f1cccaa6b23069b1ef844dc3848b4dac3437f42e.zip
cpython-f1cccaa6b23069b1ef844dc3848b4dac3437f42e.tar.gz
cpython-f1cccaa6b23069b1ef844dc3848b4dac3437f42e.tar.bz2
remove duplicate test
-rw-r--r--Lib/test/test_with.py9
1 files changed, 0 insertions, 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