diff --git a/tests/test_detectors.py b/tests/test_detectors.py index 7f178cf..0d884f5 100644 --- a/tests/test_detectors.py +++ b/tests/test_detectors.py @@ -176,7 +176,7 @@ def test_pot_detector_evaluation_with_ks_1sample(self): "scale": [272179.457686573], } - self.assertEqual(pot_detector._POTDetector__eval, expected_kstest_result) + self.assertAlmostEqual(pot_detector._POTDetector__eval, expected_kstest_result) def tearDown(self) -> None: return super().tearDown()