add missing assertion #6313

This commit is contained in:
Benjamin Peterson 2009-06-19 22:09:17 +00:00
parent f1cccaa6b2
commit 9c5e4115ab
1 changed files with 1 additions and 0 deletions

View File

@ -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):