Skip to content

Commit d3ff351

Browse files
committed
further improvements
1 parent 3817fb9 commit d3ff351

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_fields.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,6 +1625,7 @@ def test_should_render_date_time_in_default_timezone(self):
16251625
assert rendered_date == rendered_date_in_timezone
16261626

16271627

1628+
@pytest.mark.skipif(condition=pytz is None, reason="pytz is not available.")
16281629
@pytest.mark.skipif(
16291630
condition=django.VERSION >= (5,),
16301631
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ setenv =
1717
PYTHONWARNINGS=once
1818
deps =
1919
django42: Django>=4.2,<5.0
20+
django42: pytz
2021
django50: Django>=5.0,<5.1
2122
django51: Django>=5.1,<5.2
2223
django52: Django>=5.2,<6.0

0 commit comments

Comments
 (0)