Skip to content

Commit d0e1a11

Browse files
committed
fixed process_runner fixture for py36
1 parent 137daac commit d0e1a11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def process_runner(tmp_path):
103103
os.chdir(str(tmp_path))
104104

105105
def _wrapper_process(*args, **kwargs):
106-
result = subprocess.run(*args, **kwargs, capture_output=True)
106+
kwargs.setdefault("stdout", subprocess.PIPE)
107+
kwargs.setdefault("stderr", subprocess.PIPE)
108+
result = subprocess.run(*args, **kwargs)
107109
return result
108110

109111
return _wrapper_process

0 commit comments

Comments
 (0)