Commit e1efc07a authored by Berker Peksag's avatar Berker Peksag

Issue #17753: effective_ids unavailable on Windows.

parent 4d6c6063
......@@ -649,7 +649,9 @@ class PyZipFileTests(unittest.TestCase):
self.assertIn(name + 'c', namelist)
def requiresWriteAccess(self, path):
if not os.access(path, os.W_OK, effective_ids=True):
# effective_ids unavailable on windows
if not os.access(path, os.W_OK,
effective_ids=os.access in os.supports_effective_ids):
self.skipTest('requires write access to the installed location')
def test_write_pyfile(self):
......
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