[Python-checkins] r73485 - python/trunk/Lib/test/test_with.py

benjamin.peterson python-checkins at python.org
Sat Jun 20 00:07:48 CEST 2009


Author: benjamin.peterson
Date: Sat Jun 20 00:07:47 2009
New Revision: 73485

Log:
remove duplicate test

Modified:
   python/trunk/Lib/test/test_with.py

Modified: python/trunk/Lib/test/test_with.py
==============================================================================
--- python/trunk/Lib/test/test_with.py	(original)
+++ python/trunk/Lib/test/test_with.py	Sat Jun 20 00:07:47 2009
@@ -283,15 +283,6 @@
         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


More information about the Python-checkins mailing list