Skip to content

Commit

Permalink
use array_almost_equal
Browse files Browse the repository at this point in the history
  • Loading branch information
yardasol committed Nov 7, 2022
1 parent acc6e21 commit 5edaf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/run_no_reprocessing/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_integration_2step_saltproc_no_reproc_heavy(setup):
test_fuel_mdens = test_result['MAT_fuel_MDENS'][:, -1]

test_mdens_error = np.array(ref_fuel_mdens - test_fuel_mdens)
np.testing.assert_array_equal(test_mdens_error, ref_mdens_error)
np.testing.assert_array_almost_equal(test_mdens_error, ref_mdens_error)
# Cleaning after testing
out_file_list = glob.glob(cwd + '/_test*')
for file in out_file_list:
Expand Down

0 comments on commit 5edaf3a

Please sign in to comment.