removed Popen wait and use communicate then get return code

This commit is contained in:
Bryan Herman 2013-10-16 23:03:40 -04:00
parent f7aacaf0a7
commit 9025c729c7
69 changed files with 72 additions and 72 deletions

View file

@ -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():