summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-14 15:00:27 -0500
committerTim Graham <timograham@gmail.com>2015-01-14 15:00:27 -0500
commit9801d419b9e3d3c716cb857e4337f403d1c50706 (patch)
treebc432e9170688ca45db75beb0eb1434f5dc54e2e
parent2d5da57f4856656677d82d4a56f5914f3cc431d8 (diff)
Skipped a problematic file_storage test on Windows.
-rw-r--r--tests/file_storage/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/file_storage/tests.py b/tests/file_storage/tests.py
index 8e8b0e0a32..4edee3cb80 100644
--- a/tests/file_storage/tests.py
+++ b/tests/file_storage/tests.py
@@ -532,6 +532,10 @@ class FileFieldStorageTests(SimpleTestCase):
for o in objs:
o.delete()
+ @unittest.skipIf(
+ sys.platform.startswith('win'),
+ "Windows supports at most 260 characters in a path.",
+ )
def test_extended_length_storage(self):
# Testing FileField with max_length > 255. Most systems have filename
# length limitation of 255. Path takes extra chars.