MCPcopy Index your code
hub / github.com/ipython/ipython / test_should_run_async

Function test_should_run_async

tests/test_interactiveshell.py:1178–1184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1176
1177
1178def test_should_run_async():
1179 assert not ip.should_run_async("a = 5", transformed_cell="a = 5")
1180 assert ip.should_run_async("await x", transformed_cell="await x")
1181 assert ip.should_run_async(
1182 "import asyncio; await asyncio.sleep(1)",
1183 transformed_cell="import asyncio; await asyncio.sleep(1)",
1184 )
1185
1186
1187def test_set_custom_completer():

Callers

nothing calls this directly

Calls 1

should_run_asyncMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…