]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-130614: pathlib ABCs: revise test suite for writable paths (#131112)
authorBarney Gale <barney.gale@gmail.com>
Wed, 12 Mar 2025 19:06:43 +0000 (19:06 +0000)
committerGitHub <noreply@github.com>
Wed, 12 Mar 2025 19:06:43 +0000 (19:06 +0000)
commitdb6a998b18e9476226507144b3b2fab854095dbc
tree1b3cabf1663573d00c1e166c0f9d777cd4326b98
parentea57ffa02e42dc430f2cb2312cdfc3d7ff7a5c70
GH-130614: pathlib ABCs: revise test suite for writable paths (#131112)

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