summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_with.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-19 22:09:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-19 22:09:17 (GMT)
commit9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7 (patch)
treead66005114a186e3e678f515f9ff8b9240185642 /Lib/test/test_with.py
parentf1cccaa6b23069b1ef844dc3848b4dac3437f42e (diff)
downloadcpython-9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7.zip
cpython-9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7.tar.gz
cpython-9c5e4115ab73d34fcf8ac361fecd2d45c76f5ea7.tar.bz2
add missing assertion #6313
Diffstat (limited to 'Lib/test/test_with.py')
-rw-r--r--Lib/test/test_with.py1
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):