mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
removed Popen wait and use communicate then get return code
This commit is contained in:
parent
f7aacaf0a7
commit
9025c729c7
69 changed files with 72 additions and 72 deletions
|
|
@ -17,8 +17,8 @@ def test_run():
|
|||
stderr=STDOUT, stdout=PIPE)
|
||||
else:
|
||||
proc = Popen([openmc_path, '-p'], stderr=STDOUT, stdout=PIPE)
|
||||
returncode = proc.wait()
|
||||
print(proc.communicate()[0])
|
||||
returncode = proc.returncode
|
||||
assert returncode == 0
|
||||
|
||||
def test_plots_exists():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue