cpython/Lib/test/test_pathlib
Barney Gale 292afd1d51
GH-127381: pathlib ABCs: remove remaining uncommon PathBase methods (#127714)
Remove the following methods from `pathlib._abc.PathBase`:

- `expanduser()`
- `hardlink_to()`
- `touch()`
- `chmod()`
- `lchmod()`
- `owner()`
- `group()`
- `from_uri()`
- `as_uri()`

These operations aren't regularly supported in virtual filesystems, so they
don't win a place in the `PathBase` interface. (Some of them probably don't
deserve a place in `Path` :P.) They're quasi-abstract (except `lchmod()`),
and they're not called by other `PathBase` methods.
2024-12-12 06:49:34 +00:00
..
__init__.py
test_pathlib.py GH-127381: pathlib ABCs: remove PathBase.samefile() and rarer is_*() (#127709) 2024-12-11 00:09:55 +00:00
test_pathlib_abc.py GH-127381: pathlib ABCs: remove remaining uncommon PathBase methods (#127714) 2024-12-12 06:49:34 +00:00