Kaydet (Commit) 9c5e4115 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

add missing assertion #6313

üst f1cccaa6
...@@ -710,6 +710,7 @@ class NestedWith(unittest.TestCase): ...@@ -710,6 +710,7 @@ class NestedWith(unittest.TestCase):
body_executed = True body_executed = True
self.assertTrue(a.enter_called) self.assertTrue(a.enter_called)
self.assertTrue(a.exit_called) self.assertTrue(a.exit_called)
self.assertTrue(body_executed)
self.assertNotEqual(a.exc_info[0], None) self.assertNotEqual(a.exc_info[0], None)
def testEnterReturnsTuple(self): def testEnterReturnsTuple(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment