Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 30, 2023
1 parent e1f51b9 commit 9cc0f30
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@

from aiohttp import web
from aiohttp.test_utils import AioHTTPTestCase, loop_context

# from tests._pytest_plugin import SUPPORTS_XDIST # type: ignore[import]


@pytest.mark.skipif(
platform.system() == "Windows", reason="the test is not valid for Windows"
)
async def test_subprocess_co(loop: Any) -> None:
assert PY_38 or threading.current_thread() is threading.main_thread() # or SUPPORTS_XDIST
assert (
PY_38 or threading.current_thread() is threading.main_thread()
) # or SUPPORTS_XDIST
proc = await asyncio.create_subprocess_shell(
"exit 0",
stdin=asyncio.subprocess.DEVNULL,
Expand Down

0 comments on commit 9cc0f30

Please sign in to comment.