Kaydet (Commit) 9801d419 authored tarafından Tim Graham's avatar Tim Graham

Skipped a problematic file_storage test on Windows.

üst 2d5da57f
...@@ -532,6 +532,10 @@ class FileFieldStorageTests(SimpleTestCase): ...@@ -532,6 +532,10 @@ class FileFieldStorageTests(SimpleTestCase):
for o in objs: for o in objs:
o.delete() o.delete()
@unittest.skipIf(
sys.platform.startswith('win'),
"Windows supports at most 260 characters in a path.",
)
def test_extended_length_storage(self): def test_extended_length_storage(self):
# Testing FileField with max_length > 255. Most systems have filename # Testing FileField with max_length > 255. Most systems have filename
# length limitation of 255. Path takes extra chars. # length limitation of 255. Path takes extra chars.
......
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