diff --git a/tests/test_fields.py b/tests/test_fields.py index 397691cb3..5804d7b3b 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -1577,7 +1577,7 @@ class TestCustomTimezoneForDateTimeField(TestCase): assert rendered_date == rendered_date_in_timezone -@pytest.mark.skipif(pytz is None, reason="As Django 5.0 is deprecating pytz, this test should eventually be able to get removed.") +@pytest.mark.skipif(pytz is None, reason="As Django 4.0 has deprecated pytz, this test should eventually be able to get removed.") class TestPytzNaiveDayLightSavingTimeTimeZoneDateTimeField(FieldValues): """ Invalid values for `DateTimeField` with datetime in DST shift (non-existing or ambiguous) and timezone with DST.