cpython/Lib/test/test_pathlib
Barney Gale 5dbd27db7d
GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437)
In the abstract interface of `JoinablePath`, replace `__str__()` with
`__vfspath__()`. This frees user implementations of `JoinablePath` to
implement `__str__()` however they like (or not at all.)

Also add `pathlib._os.vfspath()`, which calls `__fspath__()` or
`__vfspath__()`.
2025-05-12 19:00:36 +01:00
..
support GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437) 2025-05-12 19:00:36 +01:00
__init__.py
test_copy.py GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
test_join.py GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
test_join_posix.py GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
test_join_windows.py GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437) 2025-05-12 19:00:36 +01:00
test_pathlib.py gh-133677: Fix tests when running in non-UTF-8 locale (GH-133865) 2025-05-12 19:09:11 +03:00
test_read.py GH-128520: pathlib ABCs tests: use explicit text encoding (#133105) 2025-04-28 20:18:56 +01:00
test_write.py GH-128520: pathlib ABCs tests: use explicit text encoding (#133105) 2025-04-28 20:18:56 +01:00