Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion testing/test_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1322,8 +1322,12 @@ def test_async_support(pytester: Pytester) -> None:
reprec.assertoutcome(failed=1, passed=2)


import pytest


@pytest.mark.skipif(
sys.version_info >= (3, 11), reason="asynctest is not compatible with Python 3.11+"
sys.version_info >= (3, 11),
reason="asynctest relies on asyncio.coroutine, removed in Python 3.11+",
)
def test_asynctest_support(pytester: Pytester) -> None:
"""Check asynctest support (#7110)"""
Expand Down