Skip to content

Commit

Permalink
skip sharpe test on pandas 14 due to macos CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jansen committed Sep 25, 2024
1 parent f35db78 commit b560efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit b560efb

Please sign in to comment.