don't use "1M" - but be explicit in the intend

This commit is contained in:
Matthias
2024-02-27 06:08:48 +01:00
parent 0021e2c205
commit c0e9726f49
2 changed files with 2 additions and 2 deletions

View File

@@ -498,7 +498,7 @@ def test__get_resample_from_period():
assert _get_resample_from_period('day') == '1d'
assert _get_resample_from_period('week') == '1W-MON'
assert _get_resample_from_period('month') == '1M'
assert _get_resample_from_period('month') == '1ME'
with pytest.raises(ValueError, match=r"Period noooo is not supported."):
_get_resample_from_period('noooo')