mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-08 14:23:18 +03:00
remove original condition
Co-authored-by: Ülgen Sarıkavak <ulgens@users.noreply.github.com>
This commit is contained in:
parent
4e42975bba
commit
5b253461c8
|
@ -1625,8 +1625,10 @@ class TestCustomTimezoneForDateTimeField(TestCase):
|
||||||
assert rendered_date == rendered_date_in_timezone
|
assert rendered_date == rendered_date_in_timezone
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif(pytz is None or django.VERSION >= (5,),
|
@pytest.mark.skipif(
|
||||||
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.")
|
condition=django.VERSION >= (5,),
|
||||||
|
reason="Django 5.0 has removed pytz; this test should eventually be able to get removed.",
|
||||||
|
)
|
||||||
class TestPytzNaiveDayLightSavingTimeTimeZoneDateTimeField(FieldValues):
|
class TestPytzNaiveDayLightSavingTimeTimeZoneDateTimeField(FieldValues):
|
||||||
"""
|
"""
|
||||||
Invalid values for `DateTimeField` with datetime in DST shift (non-existing or ambiguous) and timezone with DST.
|
Invalid values for `DateTimeField` with datetime in DST shift (non-existing or ambiguous) and timezone with DST.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user