]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-130614: pathlib ABCs: revise test suite for Posix path joining (#131017)
authorBarney Gale <barney.gale@gmail.com>
Mon, 10 Mar 2025 17:59:10 +0000 (17:59 +0000)
committerGitHub <noreply@github.com>
Mon, 10 Mar 2025 17:59:10 +0000 (17:59 +0000)
commit5a484714c3497dd5c67a1469c0cc246bf1452892
tree3b515770a5f1d9c32fabcd246cc98993c46d6130
parent93fc3d34f9285d337c1e19e84764b02629eaab68
GH-130614: pathlib ABCs: revise test suite for Posix path joining (#131017)

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