MCPcopy Create free account
hub / github.com/ipython/ipython / test_autoawait

Method test_autoawait

IPython/core/tests/test_async_helpers.py:270–277  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268 )
269
270 def test_autoawait(self):
271 iprc("%autoawait False")
272 iprc("%autoawait True")
273 iprc("""
274 from asyncio import sleep
275 await sleep(0.1)
276 """
277 )
278
279 if sys.version_info < (3,9):
280 # new pgen parser in 3.9 does not raise MemoryError on too many nested

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected