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