summaryrefslogtreecommitdiff
path: root/tests/admin_filters
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-11-06 06:14:30 -0800
committerCarlton Gibson <carlton.gibson@noumenal.es>2019-11-06 15:14:30 +0100
commit39791c8e6de3a71879eb26dd9f8d01273847f395 (patch)
tree4de3a588b3098cd51f5a5ae0b1830d36a57a1ab3 /tests/admin_filters
parente3c2fae4cd549a6aeefcf7b217ba4b173489e18c (diff)
downloaddjango-39791c8e6de3a71879eb26dd9f8d01273847f395.tar.gz
Harmonized Windows checks in tests to a single style.
Diffstat (limited to 'tests/admin_filters')
-rw-r--r--tests/admin_filters/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_filters/tests.py b/tests/admin_filters/tests.py
index ce659f937f..6db2147e51 100644
--- a/tests/admin_filters/tests.py
+++ b/tests/admin_filters/tests.py
@@ -460,7 +460,7 @@ class ListFiltersTests(TestCase):
self.assertEqual(choice['query_string'], '?date_registered__isnull=False')
@unittest.skipIf(
- sys.platform.startswith('win'),
+ sys.platform == 'win32',
"Windows doesn't support setting a timezone that differs from the "
"system timezone."
)