From 64fbe48eabb9d6aae160220dfa90a846be63e4c3 Mon Sep 17 00:00:00 2001 From: rettigl Date: Mon, 6 May 2024 09:38:34 +0200 Subject: [PATCH] raise tolorances to avoid random test failures for tests/test_binning.py::test_normalization_histogram_from_timestamps --- tests/test_binning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_binning.py b/tests/test_binning.py index ef1d3991..2bfbbe71 100644 --- a/tests/test_binning.py +++ b/tests/test_binning.py @@ -516,7 +516,7 @@ def test_normalization_histogram_from_timestamps() -> None: bin_centers=res.coords[columns[0]].values, time_stamp_column="timeStamps", ) - np.testing.assert_allclose(res / res.sum(), histogram / histogram.sum(), rtol=0.001) + np.testing.assert_allclose(res / res.sum(), histogram / histogram.sum(), rtol=0.01) def test_normalization_histogram_from_timed_dataframe() -> None: