Skip to content

Commit 10bf2cd

Browse files
authored
GH-89812: Churn pathlib.Path test methods (#105807)
Re-arrange `pathlib.Path` test methods in source code. No other changes. The test methods are arranged in two groups. The first group checks `stat()`, `open()`, `iterdir()`, `readlink()`, and derived methods like `exists()`, `read_text()`, `glob()` and `resolve()`. The second group checks all other `Path` methods. To minimise the diff I've maintained the method order within groups where possible. This patch prepares the ground for a new `_AbstractPath` class, which will support methods in the first group above. By churning the test methods here, subsequent patches will be easier to review and less likely to break things.
1 parent 12b6d84 commit 10bf2cd

File tree

1 file changed

+395
-395
lines changed

1 file changed

+395
-395
lines changed

0 commit comments

Comments
 (0)