Check asynctest support (#7110)
(pytester: Pytester)
| 1283 | |
| 1284 | |
| 1285 | def test_asynctest_support(pytester: Pytester) -> None: |
| 1286 | """Check asynctest support (#7110)""" |
| 1287 | pytest.importorskip("asynctest") |
| 1288 | |
| 1289 | pytester.copy_example("unittest/test_unittest_asynctest.py") |
| 1290 | reprec = pytester.inline_run() |
| 1291 | reprec.assertoutcome(failed=1, passed=2) |
| 1292 | |
| 1293 | |
| 1294 | def test_plain_unittest_does_not_support_async(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected