Skip to content

Commit

Permalink
[1.9.x] Fixed #25562 -- Skipped a time dependent admin_filters test o…
Browse files Browse the repository at this point in the history
…n Windows.

Backport of 4a50daf from master
  • Loading branch information
timgraham committed Oct 20, 2015
1 parent 522b0bc commit 994e766
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/admin_filters/tests.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from __future__ import unicode_literals

import datetime
import sys
import unittest

from django.contrib.admin import (
AllValuesFieldListFilter, BooleanFieldListFilter, ModelAdmin,
Expand Down Expand Up @@ -381,6 +383,11 @@ def test_datefieldlistfilter(self):
)
)

@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
Expand Down

0 comments on commit 994e766

Please sign in to comment.