mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Merge pull request #333 from bunder/develop
Fix Python 3.x incompatibility in trace test
This commit is contained in:
commit
e0ace84ef8
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def test_run():
|
|||
print(stdout)
|
||||
returncode = proc.returncode
|
||||
assert returncode == 0, 'OpenMC did not exit successfully.'
|
||||
assert stdout.find('Simulating Particle 453') != -1
|
||||
assert stdout.find(b'Simulating Particle 453') != -1
|
||||
|
||||
def test_created_statepoint():
|
||||
statepoint = glob.glob(os.path.join(cwd, 'statepoint.10.*'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue