cpython/Lib/test/test_pathlib
Miss Islington (bot) d218810e20
[3.13] GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883) (#122979)
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 5f68511522)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
2024-08-13 17:39:14 +00:00
..
__init__.py
test_pathlib.py [3.13] GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883) (#122979) 2024-08-13 17:39:14 +00:00
test_pathlib_abc.py [3.13] GH-119113: Raise `TypeError` from `pathlib.PurePath.with_suffix(None)` (GH-119124) (#119183) 2024-05-19 16:27:12 +00:00