Update tests/test_fields.py

This commit is contained in:
Asif Saif Uddin 2023-04-08 15:06:50 +06:00 committed by GitHub
parent 89a437083d
commit 2b6fe08297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.