()
| 77 | |
| 78 | def test_add_callback_wakeup_other_thread(self): |
| 79 | def target(): |
| 80 | # sleep a bit to let the ioloop go into its poll loop |
| 81 | time.sleep(0.01) |
| 82 | self.stop_time = time.time() |
| 83 | self.io_loop.add_callback(self.stop) |
| 84 | |
| 85 | thread = threading.Thread(target=target) |
| 86 | self.io_loop.add_callback(thread.start) |
nothing calls this directly
no test coverage detected