From b560efb2abd22373e5c0acb9ab4620c76629b4a4 Mon Sep 17 00:00:00 2001 From: Stefan Jansen Date: Wed, 25 Sep 2024 16:53:29 -0400 Subject: [PATCH] skip sharpe test on pandas 14 due to macos CI error --- tests/test_timeseries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_timeseries.py b/tests/test_timeseries.py index f2f044bc..6e92e8f1 100644 --- a/tests/test_timeseries.py +++ b/tests/test_timeseries.py @@ -297,7 +297,7 @@ class TestStats(TestCase): ) ] ) - @skipIf(pandas_one_point_three_or_less, "pandas<=1.3 returns np.inf not np.nan") + @skipIf(pandas_one_point_three_or_less, "pandas<=1.4 returns np.inf not np.nan") def test_sharpe_2(self, returns, rolling_sharpe_window, expected): np.testing.assert_array_almost_equal( timeseries.rolling_sharpe(returns, rolling_sharpe_window).to_numpy(),