MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_async_support

Function test_async_support

testing/test_unittest.py:1277–1282  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

1275
1276
1277def test_async_support(pytester: Pytester) -> None:
1278 pytest.importorskip("unittest.async_case")
1279
1280 pytester.copy_example("unittest/test_unittest_asyncio.py")
1281 reprec = pytester.inline_run()
1282 reprec.assertoutcome(failed=1, passed=2)
1283
1284
1285def test_asynctest_support(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 3

assertoutcomeMethod · 0.80
copy_exampleMethod · 0.45
inline_runMethod · 0.45

Tested by

no test coverage detected