From 9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 19 Jun 2009 22:09:17 +0000 Subject: [PATCH] add missing assertion #6313 --- Lib/test/test_with.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index 2dbae0e0732..b572b912d0b 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):