Skip to content

Commit 0242690

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

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

testing/test_unittest.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,9 +1321,13 @@ def test_async_support(pytester: Pytester) -> None:
13211321
reprec = pytester.inline_run()
13221322
reprec.assertoutcome(failed=1, passed=2)
13231323

1324-
import sys
1324+
13251325
import pytest
1326-
@pytest.mark.skipif(sys.version_info >= (3, 11), reason="asynctest is not compatible with Python 3.11+")
1326+
1327+
1328+
@pytest.mark.skipif(
1329+
sys.version_info >= (3, 11), reason="asynctest is not compatible with Python 3.11+"
1330+
)
13271331
def test_asynctest_support(pytester: Pytester) -> None:
13281332
"""Check asynctest support (#7110)"""
13291333
pytest.importorskip("asynctest")
@@ -1673,4 +1677,4 @@ def abstract2(self): pass
16731677
)
16741678
result = pytester.runpytest()
16751679
assert result.ret == ExitCode.OK
1676-
result.assert_outcomes(passed=1)
1680+
result.assert_outcomes(passed=1)

0 commit comments

Comments
 (0)