Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-89812: Churn pathlib.Path test methods #105807

Merged

Commits on Jun 15, 2023

  1. pythonGH-89812: Churn pathlib.Path test methods

    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.
    barneygale committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    3d5b699 View commit details
    Browse the repository at this point in the history