summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests
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/staticfiles_tests
parente3c2fae4cd549a6aeefcf7b217ba4b173489e18c (diff)
Harmonized Windows checks in tests to a single style.
Diffstat (limited to 'tests/staticfiles_tests')
-rw-r--r--tests/staticfiles_tests/test_storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/staticfiles_tests/test_storage.py b/tests/staticfiles_tests/test_storage.py
index afdf4c1761..c6f6e4fb4e 100644
--- a/tests/staticfiles_tests/test_storage.py
+++ b/tests/staticfiles_tests/test_storage.py
@@ -420,7 +420,7 @@ class CustomStaticFilesStorage(storage.StaticFilesStorage):
super().__init__(*args, **kwargs)
-@unittest.skipIf(sys.platform.startswith('win'), "Windows only partially supports chmod.")
+@unittest.skipIf(sys.platform == 'win32', "Windows only partially supports chmod.")
class TestStaticFilePermissions(CollectionTestCase):
command_params = {