From fc861604fb750977c19aaccdbf8f61bfd9a147fe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:07:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xarray/tests/test_cftimeindex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xarray/tests/test_cftimeindex.py b/xarray/tests/test_cftimeindex.py index 49988658550..ef30516b468 100644 --- a/xarray/tests/test_cftimeindex.py +++ b/xarray/tests/test_cftimeindex.py @@ -145,10 +145,10 @@ def test_parse_iso8601_like(five, sign, string, expected): assert result == expected # check malformed single digit addendum - # this check is only performed when we have at least "hour" given + # this check is only performed when we have at least "hour" given # like "1999010101", where a single added digit should raise - # for "1999" (year), "199901" (month) and "19990101" (day) - # and a single added digit the string would just be interpreted + # for "1999" (year), "199901" (month) and "19990101" (day) + # and a single added digit the string would just be interpreted # as having a 5-digit year. if result["microsecond"] is None and result["hour"] is not None: with pytest.raises(ValueError):