test(tools): skip the select_tests symlink-loop test without symlink support #16172
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16172"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by joafern22 on 2026-11-05T19:24:52Z.
What
test_looping_subdirectory_is_skipped(test_registration) andtest_looping_subdirectory_is_skipped_when_recovering_commands(select_tests_MissingCommandTests) create a symbolic-link loop withos.symlinkand fail on Windows without symbolic-link privileges:Same fix as
02e5fbda82for thebuild_websymlink-loop test: catch(NotImplementedError, OSError)around only the twoos.symlinkcalls and skip. The assertions stay outside the catch. A junction fallback, as inSelectFixture, cannot build the loop:_winapi.CreateJunctionneeds an existing target (WinError 2).Tested
Windows 11 Pro 10.0.26200, WinLibs GCC 15.2.0 UCRT posix-seh r7, Python 3.13,
main04cdd52760:test_registrationselect_tests_MissingCommandTestsmainOK (skipped=1)OK (skipped=1)OKOKpython tools/check_conventions.pypasses.Checklist
Pull request closed