MCPcopy Index your code
hub / github.com/RustPython/RustPython / main

Method main

Lib/test/test_unittest/testmock/testasync.py:224–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222 spec = create_autospec(async_func_args)
223 awaitable = spec(1, 2, c=3)
224 async def main():
225 await awaitable
226
227 self.assertEqual(spec.await_count, 0)
228 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