Skip to content

Commit b6a6440

Browse files
pre-commit-ci[bot]webknjaz
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8258070 commit b6a6440

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_loop.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77

88
from aiohttp import web
99
from aiohttp.test_utils import AioHTTPTestCase, loop_context
10+
1011
# from tests._pytest_plugin import SUPPORTS_XDIST # type: ignore[import]
1112

1213

1314
@pytest.mark.skipif(
1415
platform.system() == "Windows", reason="the test is not valid for Windows"
1516
)
1617
async def test_subprocess_co(loop: Any) -> None:
17-
assert PY_38 or threading.current_thread() is threading.main_thread() # or SUPPORTS_XDIST
18+
assert (
19+
PY_38 or threading.current_thread() is threading.main_thread()
20+
) # or SUPPORTS_XDIST
1821
proc = await asyncio.create_subprocess_shell(
1922
"exit 0",
2023
stdin=asyncio.subprocess.DEVNULL,

0 commit comments

Comments
 (0)