MCPcopy
hub / github.com/pytest-dev/pytest / test_async_support

Function test_async_support

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

Source from the content-addressed store, hash-verified

1381
1382
1383def test_async_support(pytester: Pytester) -> None:
1384 pytest.importorskip("unittest.async_case")
1385
1386 pytester.copy_example("unittest/test_unittest_asyncio.py")
1387 reprec = pytester.inline_run()
1388 reprec.assertoutcome(failed=1, passed=2)
1389
1390
1391@pytest.mark.skipif(

Callers

nothing calls this directly

Calls 3

assertoutcomeMethod · 0.80
copy_exampleMethod · 0.45
inline_runMethod · 0.45

Tested by

no test coverage detected