Title: GH-89812: Churn `pathlib.Path` test methods by barneygale · Pull Request #105807 · python/cpython · GitHub
Open Graph Title: GH-89812: Churn `pathlib.Path` test methods by barneygale · Pull Request #105807 · python/cpython
X Title: GH-89812: Churn `pathlib.Path` test methods by barneygale · Pull Request #105807 · python/cpython
Description: Similar to #104243 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. Issue: gh-89812
Open Graph Description: Similar to #104243 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(), ...
X Description: Similar to #104243 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(), ...
Opengraph URL: https://github.com/python/cpython/pull/105807
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:b36765f2-68b6-cadb-3f3a-988ce51c6835 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | AA96:2D5987:8F3331:C1A19D:69697B52 |
| html-safe-nonce | 3952866f11ca7e0018293566e3794cd53049bdc65b1d0a6c134afdc4baed2cd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTk2OjJENTk4Nzo4RjMzMzE6QzFBMTlEOjY5Njk3QjUyIiwidmlzaXRvcl9pZCI6IjM3NzAxNjIyODg5MzI3ODA4ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 39be147f56e50363b46b19a79605e47fd4fa16578d28a915fff451f34a195d6c |
| hovercard-subject-tag | pull_request:1393270748 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/105807/checks |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| og:image:alt | Similar to #104243 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(), ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width