MCPcopy 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_discovery.pyFile · 0.45
__main__.pyFile · 0.45
test_assertions.pyFile · 0.45
test_skipping.pyFile · 0.45
test_break.pyFile · 0.45
test_NonExitMethod · 0.45
test_ExitMethod · 0.45
test_ExitAsDefaultMethod · 0.45
test_ExitSkippedSuiteMethod · 0.45
test_ExitEmptySuiteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected