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 3817fb9 commit d3ff351Copy full SHA for d3ff351
tests/test_fields.py
@@ -1625,6 +1625,7 @@ def test_should_render_date_time_in_default_timezone(self):
1625
assert rendered_date == rendered_date_in_timezone
1626
1627
1628
+@pytest.mark.skipif(condition=pytz is None, reason="pytz is not available.")
1629
@pytest.mark.skipif(
1630
condition=django.VERSION >= (5,),
1631
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",
tox.ini
@@ -17,6 +17,7 @@ setenv =
17
PYTHONWARNINGS=once
18
deps =
19
django42: Django>=4.2,<5.0
20
+ django42: pytz
21
django50: Django>=5.0,<5.1
22
django51: Django>=5.1,<5.2
23
django52: Django>=5.2,<6.0
0 commit comments