Helper to correctly register coroutine function to __aexit__ method.
(self, cm, cm_exit)
| 705 | await self.__aexit__(None, None, None) |
| 706 | |
| 707 | def _push_async_cm_exit(self, cm, cm_exit): |
| 708 | """Helper to correctly register coroutine function to __aexit__ |
| 709 | method.""" |
| 710 | _exit_wrapper = self._create_async_exit_wrapper(cm, cm_exit) |
| 711 | self._push_exit_callback(_exit_wrapper, False) |
| 712 | |
| 713 | async def __aenter__(self): |
| 714 | return self |
no test coverage detected