We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e42975 commit 5b25346Copy full SHA for 5b25346
tests/test_fields.py
@@ -1625,8 +1625,10 @@ def test_should_render_date_time_in_default_timezone(self):
1625
assert rendered_date == rendered_date_in_timezone
1626
1627
1628
-@pytest.mark.skipif(pytz is None or django.VERSION >= (5,),
1629
- reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.")
+@pytest.mark.skipif(
+ condition=django.VERSION >= (5,),
1630
+ reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",
1631
+)
1632
class TestPytzNaiveDayLightSavingTimeTimeZoneDateTimeField(FieldValues):
1633
"""
1634
Invalid values for `DateTimeField` with datetime in DST shift (non-existing or ambiguous) and timezone with DST.
0 commit comments