further improvements

This commit is contained in:
Jakub Kulík 2025-06-05 11:12:50 +02:00
parent 3817fb9282
commit d3ff351d37
2 changed files with 2 additions and 0 deletions

View File

@ -1625,6 +1625,7 @@ class TestCustomTimezoneForDateTimeField(TestCase):
assert rendered_date == rendered_date_in_timezone
@pytest.mark.skipif(condition=pytz is None, reason="pytz is not available.")
@pytest.mark.skipif(
condition=django.VERSION >= (5,),
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",

View File

@ -17,6 +17,7 @@ setenv =
PYTHONWARNINGS=once
deps =
django42: Django>=4.2,<5.0
django42: pytz
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
django52: Django>=5.2,<6.0