(self)
| 416 | @skipIfNonUnix |
| 417 | @gen_test |
| 418 | def test_init_close_race(self): |
| 419 | # Regression test for #2367 |
| 420 | # |
| 421 | # Skipped on windows because of what looks like a bug in the |
| 422 | # proactor event loop when started and stopped on non-main |
| 423 | # threads. |
| 424 | def f(): |
| 425 | for i in range(10): |
| 426 | loop = IOLoop(make_current=False) |
| 427 | loop.close() |
| 428 | |
| 429 | yield gen.multi([self.io_loop.run_in_executor(None, f) for i in range(2)]) |
| 430 | |
| 431 | def test_explicit_asyncio_loop(self): |
| 432 | asyncio_loop = asyncio.new_event_loop() |
nothing calls this directly
no test coverage detected