(self, io_loop)
| 345 | test_utils.cleanup() |
| 346 | |
| 347 | def kill_ioloop(self, io_loop): |
| 348 | if not io_loop or not io_loop.asyncio_loop.is_running(): |
| 349 | return |
| 350 | |
| 351 | io_loop.add_callback(io_loop.stop) |
| 352 | |
| 353 | self.ioloop_thread.join(timeout=50) |
| 354 | io_loop.close() |
| 355 | set_event_loop_policy(None) |
no test coverage detected