File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ def test_utc_offset_no_pytz():
201201# from domdf_python_tools.dates import get_utc_offset
202202
203203
204- @pytest .mark .parametrize ("month_idx, month" , enumerate (dates .month_full_names ))
204+ @pytest .mark .parametrize ("month_idx, month" , list ( enumerate (dates .month_full_names ) ))
205205def test_parse_month (month_idx : int , month : str ):
206206 month_idx += 1 # to make 1-indexed
207207
@@ -219,7 +219,7 @@ def test_parse_month_errors():
219219 dates .parse_month (value ) # type: ignore[arg-type]
220220
221221
222- @pytest .mark .parametrize ("month_idx, month" , enumerate (dates .month_full_names ))
222+ @pytest .mark .parametrize ("month_idx, month" , list ( enumerate (dates .month_full_names ) ))
223223def test_get_month_number_from_name (month_idx : int , month : str ):
224224 month_idx += 1 # to make 1-indexed
225225
You can’t perform that action at this time.
0 commit comments