MCPcopy
hub / github.com/tornadoweb/tornado / tester

Method tester

tornado/test/gen_test.py:958–962  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

956
957 @gen.coroutine
958 def tester():
959 fut = Future() # type: Future[int]
960 weakref_scope[0] = weakref.ref(fut)
961 self.io_loop.add_callback(callback)
962 yield fut
963
964 yield gen.with_timeout(datetime.timedelta(seconds=0.2), tester())
965

Callers

nothing calls this directly

Calls 1

add_callbackMethod · 0.45

Tested by

no test coverage detected