Kaydet (Commit) 4a50daf6 authored tarafından Tim Graham's avatar Tim Graham

Fixed #25562 -- Skipped a time dependent admin_filters test on Windows.

üst 2ee67f03
from __future__ import unicode_literals
import datetime
import sys
import unittest
from django.contrib.admin import (
AllValuesFieldListFilter, BooleanFieldListFilter, ModelAdmin,
......@@ -381,6 +383,11 @@ class ListFiltersTests(TestCase):
)
)
@unittest.skipIf(
sys.platform.startswith('win'),
"Windows doesn't support setting a timezone that differs from the "
"system timezone."
)
@override_settings(USE_TZ=True)
def test_datefieldlistfilter_with_time_zone_support(self):
# Regression for #17830
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment