Skip to content

Commit b99f35c

Browse files
Update tests/test_loop.py
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
1 parent b56b139 commit b99f35c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_loop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
platform.system() == "Windows", reason="the test is not valid for Windows"
1515
)
1616
async def test_subprocess_co(loop: Any) -> None:
17+
assert PY_38 or threading.current_thread() is threading.main_thread()
1718
proc = await asyncio.create_subprocess_shell(
1819
"exit 0",
1920
stdin=asyncio.subprocess.DEVNULL,

0 commit comments

Comments
 (0)