diff --git a/tests/test_integration_features.py b/tests/test_integration_features.py index 364d17ac3..9b8d65b70 100644 --- a/tests/test_integration_features.py +++ b/tests/test_integration_features.py @@ -75,7 +75,8 @@ def test_power_spectra_coeval(name, module_direc, plt): np.testing.assert_allclose( value / test_powers[key].max(), test_powers[key] / test_powers[key].max(), - atol=1e-8, + atol=1e-4, + rtol=0, ) @@ -125,7 +126,8 @@ def test_power_spectra_lightcone(name, module_direc, plt): np.testing.assert_allclose( value / test_powers[key].max(), test_powers[key] / test_powers[key].max(), - atol=1e-8, + atol=1e-4, + rtol=0, ) # assert np.all(np.abs(value - test_powers[key]) / value[0] < 1e-3) # assert np.sum(~np.isclose(value, test_powers[key], atol=0, rtol=5e-2)) < 10