MCPcopy Create free account
hub / github.com/EasyIME/PIME / target

Method target

python/python3/tornado/test/ioloop_test.py:82–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 @skipOnTravis
81 def test_add_callback_wakeup_other_thread(self):
82 def target():
83 # sleep a bit to let the ioloop go into its poll loop
84 time.sleep(0.01)
85 self.stop_time = time.time()
86 self.io_loop.add_callback(self.stop)
87
88 thread = threading.Thread(target=target)
89 self.io_loop.add_callback(thread.start)

Callers

nothing calls this directly

Calls 5

timeMethod · 0.80
add_callbackMethod · 0.45
startMethod · 0.45
setMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected