Kaydet (Commit) f1cccaa6 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

remove duplicate test

üst 8c826b77
...@@ -283,15 +283,6 @@ class NestedNonexceptionalTestCase(unittest.TestCase, ...@@ -283,15 +283,6 @@ class NestedNonexceptionalTestCase(unittest.TestCase,
with Nested(mock_contextmanager_generator()): with Nested(mock_contextmanager_generator()):
pass 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): def testSingleArgBoundToNonTuple(self):
m = mock_contextmanager_generator() m = mock_contextmanager_generator()
# This will bind all the arguments to nested() into a single list # This will bind all the arguments to nested() into a single list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment