We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8258070 commit b6a6440Copy full SHA for b6a6440
tests/test_loop.py
@@ -7,14 +7,17 @@
7
8
from aiohttp import web
9
from aiohttp.test_utils import AioHTTPTestCase, loop_context
10
+
11
# from tests._pytest_plugin import SUPPORTS_XDIST # type: ignore[import]
12
13
14
@pytest.mark.skipif(
15
platform.system() == "Windows", reason="the test is not valid for Windows"
16
)
17
async def test_subprocess_co(loop: Any) -> None:
- 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
21
proc = await asyncio.create_subprocess_shell(
22
"exit 0",
23
stdin=asyncio.subprocess.DEVNULL,
0 commit comments