From: Benjamin Peterson Date: Fri, 19 Jun 2009 22:09:17 +0000 (+0000) Subject: add missing assertion #6313 X-Git-Tag: v2.7a1~928 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7;p=thirdparty%2FPython%2Fcpython.git add missing assertion #6313 --- diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index 2dbae0e0732a..b572b912d0b9 100644 --- a/Lib/test/test_with.py +++ b/Lib/test/test_with.py @@ -710,6 +710,7 @@ class NestedWith(unittest.TestCase): 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):