From 3dd33cde00a9fdf5330595fa104b02771e0dbffd Mon Sep 17 00:00:00 2001 From: Stefano Ariestasia Date: Sat, 22 Jul 2023 11:39:10 +0900 Subject: [PATCH] fix test --- tests/data/test_btanalysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/data/test_btanalysis.py b/tests/data/test_btanalysis.py index cb78e6a9f..4cd11a684 100644 --- a/tests/data/test_btanalysis.py +++ b/tests/data/test_btanalysis.py @@ -348,7 +348,7 @@ def test_calculate_expectancy(testdatadir): expectancy = calculate_expectancy(bt_data) assert isinstance(expectancy, float) - assert pytest.approx(expectancy) == 0.07151374226574791 + assert pytest.approx(expectancy) == 5.820687070932315e-06 def test_calculate_expectancy_ratio(testdatadir):