From b4f2bf4fee4ec220c54bbf93c6500fd9ad4f2469 Mon Sep 17 00:00:00 2001 From: Martin Vonk Date: Thu, 14 Mar 2024 00:40:14 +0100 Subject: [PATCH] Update test_si.py --- tests/test_si.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_si.py b/tests/test_si.py index b6aca6c..b25fef9 100644 --- a/tests/test_si.py +++ b/tests/test_si.py @@ -17,9 +17,8 @@ def test_sgi(head: Series) -> None: sgi(head, fit_freq="ME") -def test_sffi(prec: Series) -> None: - sf = prec.rolling("30D", min_periods=30).sum().dropna() - ssfi(sf) +def test_sffi_timescale(prec: Series) -> None: + ssfi(prec, timescale=30) def test_window(prec: Series, evap: Series) -> None: