try to work-around bugs in the Popen hotfix

This commit is contained in:
Jean-Paul Calderone 2021-01-10 20:10:34 -05:00
parent a21b66e775
commit 18de71666f

View File

@ -110,7 +110,10 @@ class GetArgvTests(SyncTestCase):
from ._win_subprocess import (
Popen
)
returncode = Popen([executable, save_argv_path.path] + argv).wait()
from subprocess import (
PIPE,
)
returncode = Popen([executable, save_argv_path.path] + argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait()
self.assertThat(
0,
Equals(returncode),