Check asynctest support (#7110)
(pytester: Pytester)
| 1392 | sys.version_info >= (3, 11), reason="asynctest is not compatible with Python 3.11+" |
| 1393 | ) |
| 1394 | def test_asynctest_support(pytester: Pytester) -> None: |
| 1395 | """Check asynctest support (#7110)""" |
| 1396 | pytest.importorskip("asynctest") |
| 1397 | pytester.copy_example("unittest/test_unittest_asynctest.py") |
| 1398 | reprec = pytester.inline_run() |
| 1399 | reprec.assertoutcome(failed=1, passed=2) |
| 1400 | |
| 1401 | |
| 1402 | def test_plain_unittest_does_not_support_async(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected