MCPcopy Index your code
hub / github.com/python/cpython / setUp

Method setUp

Lib/test/test_asyncgen.py:625–627  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

623class AsyncGenAsyncioTest(unittest.TestCase):
624
625 def setUp(self):
626 self.loop = asyncio.new_event_loop()
627 asyncio.set_event_loop(None)
628
629 def tearDown(self):
630 self.loop.close()

Callers

nothing calls this directly

Calls 2

new_event_loopMethod · 0.45
set_event_loopMethod · 0.45

Tested by

no test coverage detected