[Python-checkins] cpython (merge 3.4 -> default): Issue #17753: effective_ids unavailable on Windows.
berker.peksag
python-checkins at python.org
Mon Feb 16 03:36:12 CET 2015
https://hg.python.org/cpython/rev/964753cf09de
changeset: 94646:964753cf09de
parent: 94644:fea664de7fc7
parent: 94645:59716f28ed30
user: Berker Peksag <berker.peksag at gmail.com>
date: Mon Feb 16 04:36:43 2015 +0200
summary:
Issue #17753: effective_ids unavailable on Windows.
files:
Lib/test/test_zipfile.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -680,7 +680,9 @@
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):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list