Title: GH-112675: Move path joining tests into `test_posixpath` and `test_ntpath` by barneygale · Pull Request #112676 · python/cpython · GitHub
Open Graph Title: GH-112675: Move path joining tests into `test_posixpath` and `test_ntpath` by barneygale · Pull Request #112676 · python/cpython
X Title: GH-112675: Move path joining tests into `test_posixpath` and `test_ntpath` by barneygale · Pull Request #112676 · python/cpython
Description: In test_pathlib, the check_drive_root_parts test methods evaluated both joining and parsing/normalisation of paths. This dates from a time when pathlib implemented both functions itself, but nowadays path joining is done with posixpath.join() and ntpath.join(). This PR moves the joining-related test cases into test_posixpath and test_ntpath. Issue: gh-112675
Open Graph Description: In test_pathlib, the check_drive_root_parts test methods evaluated both joining and parsing/normalisation of paths. This dates from a time when pathlib implemented both functions itself, but nowada...
X Description: In test_pathlib, the check_drive_root_parts test methods evaluated both joining and parsing/normalisation of paths. This dates from a time when pathlib implemented both functions itself, but nowada...
Opengraph URL: https://github.com/python/cpython/pull/112676
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:bc4ed839-9523-95ce-acee-76b09796ba11 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C460:2C3E22:1D0FE5:25C33A:696AD86C |
| html-safe-nonce | 637e56e5506938887775abbd6efc86829bf8e3b7ed4d978376d4b51cc719fb1d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDYwOjJDM0UyMjoxRDBGRTU6MjVDMzNBOjY5NkFEODZDIiwidmlzaXRvcl9pZCI6IjQ1NDY0MDE3MDEyNTMwMTE1NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c4d12a199cf271a0578c5a767d7c9ef0b6114356ea22b54451b6e37dc6b5d088 |
| hovercard-subject-tag | pull_request:1627291911 |
| 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/112676/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 | In test_pathlib, the check_drive_root_parts test methods evaluated both joining and parsing/normalisation of paths. This dates from a time when pathlib implemented both functions itself, but nowada... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width