spam-classifier / venv /lib /python3.11 /site-packages /pandas /tests /tslibs /test_libfrequencies.py
| import pytest | |
| from pandas._libs.tslibs.parsing import get_rule_month | |
| from pandas.tseries import offsets | |
| def test_get_rule_month(obj, expected): | |
| result = get_rule_month(obj) | |
| assert result == expected | |