mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
![]() GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883)
Replace `umask(0)` with `umask(0o002)` so the created files are not
world-writable, and replace `umask(0o022)` with `umask(0o026)` to check
that permissions for 'others' can still be set.
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
test_pathlib.py | ||
test_pathlib_abc.py |