We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bfb489 commit 6b4857eCopy full SHA for 6b4857e
1 file changed
code/tests/test_code_in_scripts.py
@@ -21,7 +21,9 @@ def run_py(path):
21
f.write('\n'.join(content))
22
23
args = ["python", py_path]
24
- p = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ p = subprocess.check_output(args,
25
+ stdout=subprocess.PIPE,
26
+ stderr=subprocess.PIPE)
27
print(p.stdout)
28
print(p.stderr)
29
0 commit comments