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

Method test_func_12

Lib/test/test_coroutines.py:736–743  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

734 coro.close() # avoid RuntimeWarning
735
736 def test_func_12(self):
737 async def g():
738 me.send(None)
739 await foo
740 me = g()
741 with self.assertRaisesRegex(ValueError,
742 "coroutine already executing"):
743 me.send(None)
744
745 def test_func_13(self):
746 async def g():

Callers

nothing calls this directly

Calls 3

assertRaisesRegexMethod · 0.80
gFunction · 0.70
sendMethod · 0.45

Tested by

no test coverage detected