diff --git a/pvlib/tests/test_tools.py b/pvlib/tests/test_tools.py index eec22fad1..1b5eb63c5 100644 --- a/pvlib/tests/test_tools.py +++ b/pvlib/tests/test_tools.py @@ -298,9 +298,7 @@ def test_localize_to_utc(input, expected): ), ( { - "time": datetime( - 1974, 6, 22, 23, 30, 15, tzinfo=ZoneInfo("UTC") - ) + "time": datetime(1974, 6, 22, 23, 30, 15) }, 27201.47934027778, ),