cpython/Lib/test/test_pathlib
Miss Islington (bot) 9f63a54aec
[3.14] gh-127146: Emscripten: Fix pathlib glob_dotdot test (GH-135624) (#135653)
The Emscripten path resolver uses the same mechanism for resolving `..`
at a file system root as for resolving symlinks. This is because
roots don't store their mountpoints. If the parent of a node is itself,
it is a root but it might be a mountpoint in some other file system.

If a path has enough `..`'s at the root, it will return ELOOP.
Enough turns out to be 49.
(cherry picked from commit e4ccd46bf7)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2025-06-18 04:19:43 +00:00
..
support GH-128520: pathlib ABCs tests: use explicit text encoding (#133105) 2025-04-28 20:18:56 +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: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
test_pathlib.py [3.14] gh-127146: Emscripten: Fix pathlib glob_dotdot test (GH-135624) (#135653) 2025-06-18 04:19:43 +00: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