From 041258a5499534fae6de843a7b9d10dde02c7659 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 26 Sep 2022 07:02:25 +0000 Subject: [PATCH] Fix arm test failure --- tests/freqai/test_freqai_datakitchen.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/freqai/test_freqai_datakitchen.py b/tests/freqai/test_freqai_datakitchen.py index a9e7eac51..f7446420d 100644 --- a/tests/freqai/test_freqai_datakitchen.py +++ b/tests/freqai/test_freqai_datakitchen.py @@ -71,10 +71,7 @@ def test_use_DBSCAN_to_remove_outliers(mocker, freqai_conf, caplog): freqai = make_data_dictionary(mocker, freqai_conf) # freqai_conf['freqai']['feature_parameters'].update({"outlier_protection_percentage": 1}) freqai.dk.use_DBSCAN_to_remove_outliers(predict=False) - assert log_has_re( - "DBSCAN found eps of 2.36.", - caplog, - ) + assert log_has_re(r"DBSCAN found eps of 2\.3\d\.", caplog) def test_compute_distances(mocker, freqai_conf):