Fix yearly resample timeframe

This commit is contained in:
Matthias
2024-01-23 07:22:18 +01:00
parent 6b78dac6f0
commit 48ea43f954
2 changed files with 3 additions and 0 deletions

View File

@@ -133,6 +133,7 @@ def test_timeframe_to_msecs():
("1d", '86400s'),
("1w", '604800s'),
("1M", '1MS'),
("1y", '1YS'),
])
def test_timeframe_to_resample_freq(timeframe, expected):
assert timeframe_to_resample_freq(timeframe) == expected