Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ test_ok
Method
test_ok
testing/example_scripts/unittest/test_unittest_asynctest.py:22–23 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
20
self.fail(
"failing on purpose"
)
21
22
async
def
test_ok(self):
23
await asyncio.sleep(0)
24
25
def
test_teardowns(self):
26
assert len(teardowns) == 2
Callers
nothing calls this directly
Calls
1
sleep
Method · 0.80
Tested by
no test coverage detected