Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ main
Method
main
Lib/test/test_unittest/testmock/testasync.py:222–223 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
220
spec = create_autospec(async_func_args)
221
awaitable = spec(1, 2, c=3)
222
async
def
main():
223
await awaitable
224
225
self.assertEqual(spec.await_count, 0)
226
self.assertIsNone(spec.await_args)
Callers
15
test_functiontestcase.py
File · 0.45
test_discovery.py
File · 0.45
__main__.py
File · 0.45
test_assertions.py
File · 0.45
test_skipping.py
File · 0.45
test_break.py
File · 0.45
test_NonExit
Method · 0.45
test_Exit
Method · 0.45
test_ExitAsDefault
Method · 0.45
test_ExitSkippedSuite
Method · 0.45
test_ExitEmptySuite
Method · 0.45
test_ExitSetUpClassFailureSuite
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected