MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_new_event_loop

Method test_new_event_loop

Lib/test/test_asyncio/test_events.py:2890–2895  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2888 th.join()
2889
2890 def test_new_event_loop(self):
2891 policy = test_utils.DefaultEventLoopPolicy()
2892
2893 loop = policy.new_event_loop()
2894 self.assertIsInstance(loop, asyncio.AbstractEventLoop)
2895 loop.close()
2896
2897 def test_set_event_loop(self):
2898 policy = test_utils.DefaultEventLoopPolicy()

Callers

nothing calls this directly

Calls 3

assertIsInstanceMethod · 0.80
new_event_loopMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected