Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Sep 15, 2017
1 parent 1bfb489 commit 6b4857e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/tests/test_code_in_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ def run_py(path):
f.write('\n'.join(content))

args = ["python", py_path]
p = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
p = subprocess.check_output(args,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
print(p.stdout)
print(p.stderr)

Expand Down

0 comments on commit 6b4857e

Please sign in to comment.