Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ test
Function
test
extra_tests/snippets/syntax_async.py:74–80 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
ls = []
73
74
def
test():
75
global SLEEP_UNIT
76
if
sys.platform.startswith(
"win"
):
77
SLEEP_UNIT *= 2
78
ls.clear()
79
asyncio.run(run(), debug=True)
80
assert ls == expected
81
82
83
for
i in reversed(range(10)):
Callers
2
syntax_async.py
File · 0.70
run
Method · 0.50
Calls
4
run
Function · 0.70
startswith
Method · 0.45
clear
Method · 0.45
run
Method · 0.45
Tested by
1
run
Method · 0.40