]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-130614: pathlib ABCs: revise test suite for readable paths (#131018)
authorBarney Gale <barney.gale@gmail.com>
Tue, 11 Mar 2025 20:54:22 +0000 (20:54 +0000)
committerGitHub <noreply@github.com>
Tue, 11 Mar 2025 20:54:22 +0000 (20:54 +0000)
commitad90c5fabc415d4e46205947cceda82893ec1460
treea1800020ac7bcf49d355dd5faf972fa1d0876bbb
parent24070492cfee2cd698009418f70cc3755dbd0b99
GH-130614: pathlib ABCs: revise test suite for readable paths (#131018)

Test `pathlib.types._ReadablePath` in a dedicated test module. These tests
cover `ReadableZipPath`, `ReadableLocalPath` and `Path`, where the former
two classes are implementations of `_ReadablePath` for use in tests.
Lib/test/test_pathlib/support/local_path.py [new file with mode: 0644]
Lib/test/test_pathlib/support/zip_path.py [new file with mode: 0644]
Lib/test/test_pathlib/test_pathlib.py
Lib/test/test_pathlib/test_pathlib_abc.py
Lib/test/test_pathlib/test_read.py [new file with mode: 0644]