diff --git a/xarray/tests/test_cftimeindex.py b/xarray/tests/test_cftimeindex.py index 20d14b053cf..09d9f69d062 100644 --- a/xarray/tests/test_cftimeindex.py +++ b/xarray/tests/test_cftimeindex.py @@ -134,7 +134,7 @@ def date_dict( list(ISO8601_LIKE_STRING_TESTS.values()), ids=list(ISO8601_LIKE_STRING_TESTS.keys()), ) -@pytest.mark.parametrize("five_digit_year", [False, True], ids=["4Y", "5Y"]) +@pytest.mark.parametrize("five_digit_year", [False, True], ids=["four-digit-year", "five-digit-year"]) @pytest.mark.parametrize("sign", ["", "+", "-"], ids=["None", "plus", "minus"]) def test_parse_iso8601_like(five_digit_year, sign, string, expected): pre = "1" if five_digit_year else ""