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

benjamin.peterson python-checkins at python.org
Sat Jun 20 00:09:17 CEST 2009


Author: benjamin.peterson
Date: Sat Jun 20 00:09:17 2009
New Revision: 73486

Log:
add missing assertion #6313

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:09:17 2009
@@ -710,6 +710,7 @@
             body_executed = True
         self.assertTrue(a.enter_called)
         self.assertTrue(a.exit_called)
+        self.assertTrue(body_executed)
         self.assertNotEqual(a.exc_info[0], None)
 
     def testEnterReturnsTuple(self):


More information about the Python-checkins mailing list