remove original condition

Co-authored-by: Ülgen Sarıkavak <ulgens@users.noreply.github.com>
This commit is contained in:
Jakub Kulík 2025-06-05 08:26:39 +02:00 committed by GitHub
parent 4e42975bba
commit 5b253461c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1625,8 +1625,10 @@ class TestCustomTimezoneForDateTimeField(TestCase):
assert rendered_date == rendered_date_in_timezone
@pytest.mark.skipif(pytz is None or django.VERSION >= (5,),
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.")
@pytest.mark.skipif(
condition=django.VERSION >= (5,),
reason="Django 5.0 has removed 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.