Open
Description
We should be able to parametrize tests for pathlib's ReadablePath.copy()
, e.g.:
- Copy from
Path
toPath
- Copy from
Path
toWritableZipPath
- Copy from
ReadableZipPath
toPath
- Copy from
ReadableZipPath
toWritableZipPath
Unfortunately this breaks some deep assumptions in the existing test classes, so I think we should create new suites somewhere in test.test_pathlib
.
Linked PRs
- GH-130614: Add test suites for readable and writable
pathlib
paths #130648 - GH-130614: pathlib ABCs: retain original separator in
with_name()
#130990 - GH-130614: pathlib ABCs: support alternate separator in
full_match()
#130991 - GH-130614: pathlib ABCs: revise test suite for path joining #130988
- GH-130614: pathlib ABCs: revise test suite for Windows path joining #131016
- GH-130614: pathlib ABCs: revise test suite for Posix path joining #131017
- GH-130614: pathlib ABCs: revise test suite for readable paths #131018
- GH-130614: pathlib ABCs: revise test suite for writable paths #131112
- GH-130614: pathlib ABCs: parametrize test suite for path copying #131168
- GH-130614: pathlib ABCs: delete vestigial
test_pathlib_abc
module #131215 - GH-130614: pathlib ABCs: improve support for receiving path metadata #131259
Metadata
Metadata
Assignees
Labels
Tests in the Lib/test dirTests in the Lib/test dirA feature request or enhancementA feature request or enhancement