]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-113528: Slightly improve `pathlib.Path.glob()` tests for symlink loop handling...
authorBarney Gale <barney.gale@gmail.com>
Sat, 6 Jan 2024 17:03:39 +0000 (17:03 +0000)
committerGitHub <noreply@github.com>
Sat, 6 Jan 2024 17:03:39 +0000 (17:03 +0000)
commit2205510e7b32eb4c7bbe1982d7b5dfcbfb85cffe
tree89a6a42c456589447c49b605cc373e604fb78e26
parentf1526356b1be31071222683c9f09fa271d0203ce
GH-113528: Slightly improve `pathlib.Path.glob()` tests for symlink loop handling (#113763)

Slightly improve `pathlib.Path.glob()` tests for symlink loop handling

When filtering results, ignore paths with more than one `linkD/` segment,
rather than all paths below the first `linkD/` segment. This allows us
to test that other paths under `linkD/` are correctly returned.
Lib/test/test_pathlib/test_pathlib_abc.py