Skip to content

Commit

Permalink
Fixed BoussinesqNonIso testing script to work with Python 3.6 (#981)
Browse files Browse the repository at this point in the history
Co-authored-by: dcdemen <[email protected]>
  • Loading branch information
ddement and ddement authored Jun 6, 2022
1 parent d19c75b commit d24dd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reg_tests/test_files/BoussinesqNonIso/norms.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def num_lines_output(fname):
def tail(fname, n):
exit_if_file_does_not_exist(fname)
cmdline = "tail -n " + str(n) + " " + fname
pp = subprocess.run(cmdline, shell=True, capture_output=True)
pp = subprocess.run(cmdline, shell=True, stdout=subprocess.PIPE)
lines = pp.stdout.decode("UTF-8").strip().split("\n")
return lines

Expand Down

0 comments on commit d24dd3b

Please sign in to comment.