add missing assertion #6313
This commit is contained in:
parent
f1cccaa6b2
commit
9c5e4115ab
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue