Skip to content

Commit

Permalink
GH-89812: Churn pathlib.Path test methods (#105807)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
barneygale committed Jun 15, 2023
1 parent 12b6d84 commit 10bf2cd
Showing 1 changed file with 395 additions and 395 deletions.

0 comments on commit 10bf2cd

Please sign in to comment.