Skip to content

Commit 5b25346

Browse files
kulikjakulgens
andauthored
remove original condition
Co-authored-by: Ülgen Sarıkavak <ulgens@users.noreply.github.com>
1 parent 4e42975 commit 5b25346

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_fields.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,8 +1625,10 @@ def test_should_render_date_time_in_default_timezone(self):
16251625
assert rendered_date == rendered_date_in_timezone
16261626

16271627

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.")
1628+
@pytest.mark.skipif(
1629+
condition=django.VERSION >= (5,),
1630+
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",
1631+
)
16301632
class TestPytzNaiveDayLightSavingTimeTimeZoneDateTimeField(FieldValues):
16311633
"""
16321634
Invalid values for `DateTimeField` with datetime in DST shift (non-existing or ambiguous) and timezone with DST.

0 commit comments

Comments
 (0)