Skip to content

Commit c0b623d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1b7546b commit c0b623d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/test_unittest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,8 +1325,10 @@ def test_async_support(pytester: Pytester) -> None:
13251325
def test_asynctest_support(pytester: Pytester) -> None:
13261326
"""Check asynctest support (#7110)"""
13271327
import sys
1328+
13281329
if sys.version_info >= (3, 11):
13291330
import pytest
1331+
13301332
pytest.skip("asynctest is not compatible with Python 3.11+")
13311333
pytest.importorskip("asynctest")
13321334

0 commit comments

Comments
 (0)