Skip to content

Commit

Permalink
Reduce accuracy of surface-order test
Browse files Browse the repository at this point in the history
Test is flaky.
Test makes sure ERT does not change order of arrays and numerical
accuracy is not important.
  • Loading branch information
dafeda committed Jan 4, 2024
1 parent a79a20b commit 2e754d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/analysis/test_es_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def sample_prior(nx, ny):
with pytest.raises(AssertionError):
np.testing.assert_array_equal(surf_prior[i], surf_posterior[i])
np.testing.assert_almost_equal(
surf_prior[i].values, surf_posterior[i].values, decimal=3
surf_prior[i].values, surf_posterior[i].values, decimal=2
)


Expand Down

0 comments on commit 2e754d6

Please sign in to comment.