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

Method test_force_current

tornado/test/ioloop_test.py:476–478  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

474 self.assertIsNone(IOLoop.current(instance=False))
475
476 def test_force_current(self):
477 self.io_loop = IOLoop(make_current=True)
478 self.assertIs(self.io_loop, IOLoop.current())
479
480
481class TestIOLoopCurrentAsync(AsyncTestCase):

Callers

nothing calls this directly

Calls 2

IOLoopClass · 0.90
currentMethod · 0.80

Tested by

no test coverage detected