Commit 479df8ec authored by Victor Stinner's avatar Victor Stinner

asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written

by Vajrasky Kok.
parent a8280321
......@@ -557,7 +557,7 @@ class BaseEventLoop(events.AbstractEventLoop):
if universal_newlines:
raise ValueError("universal_newlines must be False")
if not shell:
raise ValueError("shell must be False")
raise ValueError("shell must be True")
if bufsize != 0:
raise ValueError("bufsize must be 0")
protocol = protocol_factory()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment