STINNER Victor added the comment:
> The directory with test files can be read-only.
test_regrtest skips tests which requires to write in Lib/test/ if the write
fails.
except PermissionError as exc:
if not sysconfig.is_python_build():
self.skipTest("cannot write %s: %s" % (path, exc))
> test_regrtest should use temporary directory.
Yes! That's the purpose of this issue!
But I was unable to find a technical solution to implement this. I need to try
harder :-)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26295>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com