Skip to content

Commit 5517e2b

Browse files
committed
Skipping test for long file names on windows for now.
1 parent ada028f commit 5517e2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/extractcode/test_archive.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
import os
3030
import posixpath
3131
from unittest.case import expectedFailure
32+
from unittest.case import skipIf
3233

3334
import commoncode.date
3435
from commoncode.testcase import FileBasedTesting
3536
from commoncode import fileutils
37+
from commoncode.system import on_windows
3638
import typecode.contenttype
3739

3840
from extractcode_assert_utils import check_files
@@ -868,7 +870,7 @@ def test_extract_tar_archive_with_special_files(self):
868870
check_files(test_dir, expected)
869871
assert [] == result
870872

871-
# @skipIf(True, 'Unicode tar paths are not handled well yet')
873+
@skipIf(on_windows, 'Long paths are not handled well yet on windows')
872874
def test_extract_python_testtar_tar_archive_with_special_files(self):
873875
test_file = self.get_test_loc('archive/tar/testtar.tar')
874876
# this is from:

0 commit comments

Comments
 (0)