(self)
| 30 | self.__unhandled_exceptions = [] |
| 31 | |
| 32 | def tearDown(self): |
| 33 | try: |
| 34 | self.loop.close() |
| 35 | |
| 36 | if self.__unhandled_exceptions: |
| 37 | print('Unexpected calls to loop.call_exception_handler():') |
| 38 | pprint.pprint(self.__unhandled_exceptions) |
| 39 | self.fail('unexpected calls to loop.call_exception_handler()') |
| 40 | |
| 41 | finally: |
| 42 | asyncio.set_event_loop(None) |
| 43 | self.loop = None |
| 44 | |
| 45 | def tcp_server(self, server_prog, *, |
| 46 | family=socket.AF_INET, |
nothing calls this directly
no test coverage detected