mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
add missing assertion #6313
This commit is contained in:
parent
f1cccaa6b2
commit
9c5e4115ab
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue