Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def test_utc_offset_no_pytz():
# from domdf_python_tools.dates import get_utc_offset


@pytest.mark.parametrize("month_idx, month", enumerate(dates.month_full_names))
@pytest.mark.parametrize("month_idx, month", list(enumerate(dates.month_full_names)))
def test_parse_month(month_idx: int, month: str):
month_idx += 1 # to make 1-indexed

Expand All @@ -219,7 +219,7 @@ def test_parse_month_errors():
dates.parse_month(value) # type: ignore[arg-type]


@pytest.mark.parametrize("month_idx, month", enumerate(dates.month_full_names))
@pytest.mark.parametrize("month_idx, month", list(enumerate(dates.month_full_names)))
def test_get_month_number_from_name(month_idx: int, month: str):
month_idx += 1 # to make 1-indexed

Expand Down