| 595 | self.assertIsNone(exc) |
| 596 | self.assertIsNone(exc_tb) |
| 597 | class ExitCM(object): |
| 598 | def __init__(self, check_exc): |
| 599 | self.check_exc = check_exc |
| 600 | async def __aenter__(self): |
| 601 | self.fail("Should not be called!") |
| 602 | async def __aexit__(self, *exc_details): |
| 603 | await self.check_exc(*exc_details) |
| 604 | |
| 605 | async with self.exit_stack() as stack: |
| 606 | stack.push_async_exit(_expect_ok) |
no outgoing calls
searching dependent graphs…