diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_with.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index 2dbae0e..b572b91 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): |