mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -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
|
|
@ -19,8 +19,8 @@ def test_run():
|
|||
stderr=STDOUT, stdout=PIPE)
|
||||
else:
|
||||
proc = Popen([openmc_path], stderr=STDOUT, stdout=PIPE)
|
||||
returncode = proc.wait()
|
||||
print(proc.communicate()[0])
|
||||
returncode = proc.returncode
|
||||
assert returncode == 0
|
||||
|
||||
def test_created_statepoint():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue