Skip to content

Commit a0fbdbd

Browse files
committed
let's not skip the pytz test - it should always be executed when testing against Django 4
1 parent d3ff351 commit a0fbdbd

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

requirements/requirements-testing.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pytest-django>=4.5.2,<5.0
55
importlib-metadata<5.0
66
# temporary pin of attrs
77
attrs==22.1.0
8+
pytz

tests/test_fields.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,6 @@ 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.")
16291628
@pytest.mark.skipif(
16301629
condition=django.VERSION >= (5,),
16311630
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",

tox.ini

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

0 commit comments

Comments
 (0)