]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-130614: pathlib ABCs: revise test suite for Windows path joining (#131016)
authorBarney Gale <barney.gale@gmail.com>
Tue, 11 Mar 2025 18:01:43 +0000 (18:01 +0000)
committerGitHub <noreply@github.com>
Tue, 11 Mar 2025 18:01:43 +0000 (18:01 +0000)
commit3569e4a670bc6a02f1bb1baf08ecfb85c63755fb
tree82adc8f3a65bddc63389cd6308ec2ab0cdbde585
parente0bc9d2a0c448cf46df233f8d84344c1f55a190f
GH-130614: pathlib ABCs: revise test suite for Windows path joining (#131016)

Test Windows-flavoured `pathlib.types._JoinablePath` in a dedicated test
module. These tests cover `LexicalWindowsPath`, `PureWindowsPath` and
`WindowsPath`, where `LexicalWindowsPath` is a simple implementation of
`_JoinablePath` for use in tests.
Lib/test/test_pathlib/support/lexical_path.py
Lib/test/test_pathlib/test_join_windows.py [new file with mode: 0644]
Lib/test/test_pathlib/test_pathlib.py
Lib/test/test_pathlib/test_pathlib_abc.py