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

Method setUp

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

Source from the content-addressed store, hash-verified

446# automatically set as current.
447class TestIOLoopCurrent(unittest.TestCase):
448 def setUp(self):
449 setup_with_context_manager(self, ignore_deprecation())
450 self.io_loop = None # type: typing.Optional[IOLoop]
451 IOLoop.clear_current()
452
453 def tearDown(self):
454 if self.io_loop is not None:

Callers 1

setUpMethod · 0.45

Calls 3

ignore_deprecationFunction · 0.90
clear_currentMethod · 0.80

Tested by

no test coverage detected