mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-06 21:33:34 +03:00
further improvements
This commit is contained in:
parent
3817fb9282
commit
d3ff351d37
|
@ -1625,6 +1625,7 @@ class TestCustomTimezoneForDateTimeField(TestCase):
|
||||||
assert rendered_date == rendered_date_in_timezone
|
assert rendered_date == rendered_date_in_timezone
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(condition=pytz is None, reason="pytz is not available.")
|
||||||
@pytest.mark.skipif(
|
@pytest.mark.skipif(
|
||||||
condition=django.VERSION >= (5,),
|
condition=django.VERSION >= (5,),
|
||||||
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",
|
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -17,6 +17,7 @@ setenv =
|
||||||
PYTHONWARNINGS=once
|
PYTHONWARNINGS=once
|
||||||
deps =
|
deps =
|
||||||
django42: Django>=4.2,<5.0
|
django42: Django>=4.2,<5.0
|
||||||
|
django42: pytz
|
||||||
django50: Django>=5.0,<5.1
|
django50: Django>=5.0,<5.1
|
||||||
django51: Django>=5.1,<5.2
|
django51: Django>=5.1,<5.2
|
||||||
django52: Django>=5.2,<6.0
|
django52: Django>=5.2,<6.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user