mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Correction to generated test input filename.
This commit is contained in:
parent
8fcd74b14b
commit
7723fffcdf
1 changed files with 2 additions and 2 deletions
|
|
@ -348,9 +348,9 @@ class PyAPITestHarness(TestHarness):
|
|||
compare = filecmp.cmp('inputs_test.dat', 'inputs_true.dat')
|
||||
if not compare:
|
||||
expected = open('inputs_true.dat', 'r').readlines()
|
||||
actual = open('inputs_error.dat', 'r').readlines()
|
||||
actual = open('inputs_test.dat', 'r').readlines()
|
||||
diff = unified_diff(expected, actual, 'inputs_true.dat',
|
||||
'inputs_error.dat')
|
||||
'inputs_test.dat')
|
||||
print('Input differences:')
|
||||
print(''.join(colorize(diff)))
|
||||
os.rename('inputs_test.dat', 'inputs_error.dat')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue