diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-06-19 22:09:17 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-06-19 22:09:17 (GMT) |
commit | 9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7 (patch) | |
tree | ad66005114a186e3e678f515f9ff8b9240185642 /Lib/test | |
parent | f1cccaa6b23069b1ef844dc3848b4dac3437f42e (diff) | |
download | cpython-9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7.zip cpython-9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7.tar.gz cpython-9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7.tar.bz2 |
add missing assertion #6313
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): |