Title: Tests for path joining in `test_pathlib` are misplaced · Issue #112675 · python/cpython · GitHub
Open Graph Title: Tests for path joining in `test_pathlib` are misplaced · Issue #112675 · python/cpython
X Title: Tests for path joining in `test_pathlib` are misplaced · Issue #112675 · python/cpython
Description: Pathlib originally implemented its own path joining algorithm with its own tests. Nowadays pathlib now calls through to os.path.join() (see #95450), but there's still a handful of tests for path joining remaining that are better suited t...
Open Graph Description: Pathlib originally implemented its own path joining algorithm with its own tests. Nowadays pathlib now calls through to os.path.join() (see #95450), but there's still a handful of tests for path jo...
X Description: Pathlib originally implemented its own path joining algorithm with its own tests. Nowadays pathlib now calls through to os.path.join() (see #95450), but there's still a handful of tests for pat...
Opengraph URL: https://github.com/python/cpython/issues/112675
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tests for path joining in `test_pathlib` are misplaced","articleBody":"Pathlib originally implemented its own path joining algorithm with its own tests. Nowadays pathlib now calls through to `os.path.join()` (see #95450), but there's still a handful of tests for path joining remaining that are better suited to `test_posixpath` and `test_ntpath`.\r\n\r\nAffects the `test_drive_root_parts_common` and `test_drive_root_parts` test methods.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-112676\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/barneygale","@type":"Person","name":"barneygale"},"datePublished":"2023-12-03T21:39:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/112675/cpython/issues/112675"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2cafaf98-c184-cef2-269e-b30df09bc15e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE7C:2BBD61:27EF07:36A3FC:696AA3BC |
| html-safe-nonce | dae254faba33574b3ebcb1ead5c7b8803426a2736d422a137027fc764541f5f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTdDOjJCQkQ2MToyN0VGMDc6MzZBM0ZDOjY5NkFBM0JDIiwidmlzaXRvcl9pZCI6IjY5MjA2MjY0MjIzODQ1OTk5OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a60ef723cf438bdbd2bb53ee554a565cf65997bf32831ee38a6dcf9136324c2b |
| hovercard-subject-tag | issue:2022726285 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/112675/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84711017e622a4d689119b6493c3af177bd70c5b1ecc71a850e21f80e102219f/python/cpython/issues/112675 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84711017e622a4d689119b6493c3af177bd70c5b1ecc71a850e21f80e102219f/python/cpython/issues/112675 |
| og:image:alt | Pathlib originally implemented its own path joining algorithm with its own tests. Nowadays pathlib now calls through to os.path.join() (see #95450), but there's still a handful of tests for path jo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | barneygale |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width