at 24.05-pre 901 B view raw
1diff --git a/zipfile2/tests/test__zipfile.py b/zipfile2/tests/test__zipfile.py 2index 60f2ed2..db6e5bc 100644 3--- a/zipfile2/tests/test__zipfile.py 4+++ b/zipfile2/tests/test__zipfile.py 5@@ -585,8 +585,8 @@ class TestsPermissionExtraction(unittest.TestCase): 6 if index & 1 << order: 7 mode |= permissions[permgroup][order] 8 for order in range(3): 9- if specialindex & 1 << order: 10- mode |= permissions['special'][order] 11+ if specialindex & 1 << order and order == 0: 12+ raise unittest.SkipTest("The nix build process doesn't allow you to use the setuid bit") 13 os.chmod(path, mode) 14 real_permission = os.stat(path).st_mode & 0xFFF 15 self.files.append((path, real_permission))