diff --git a/specreduce/tests/test_tracing.py b/specreduce/tests/test_tracing.py index 867ef2c..705f909 100644 --- a/specreduce/tests/test_tracing.py +++ b/specreduce/tests/test_tracing.py @@ -210,7 +210,7 @@ def test_fit_trace_all_nan_cols(self): 4.1283502, 4.5645293, 5.0007083, 5.4368874, 5.8730665, 6.3092455] max_trace = FitTrace(img, peak_method='gaussian') - np.testing.assert_allclose(truth, max_trace.trace) + np.testing.assert_allclose(truth, max_trace.trace, rtol=0.01) # peak_method = 'centroid' truth = [2.5318835, 2.782069, 3.0322546, 3.2824402, 3.5326257,