Title: GH-106747: Improve `Path.glob()` expectations in pathlib tests by barneygale · Pull Request #112365 · python/cpython · GitHub
Open Graph Title: GH-106747: Improve `Path.glob()` expectations in pathlib tests by barneygale · Pull Request #112365 · python/cpython
X Title: GH-106747: Improve `Path.glob()` expectations in pathlib tests by barneygale · Pull Request #112365 · python/cpython
Description: Add trailing slashes to expected Path.glob() results wherever a pattern has a trailing slash. This matches what glob.glob() produces. Due to another bug (GH-65238) pathlib strips all trailing slashes, so this change is academic for now. Issue: gh-106747
Open Graph Description: Add trailing slashes to expected Path.glob() results wherever a pattern has a trailing slash. This matches what glob.glob() produces. Due to another bug (GH-65238) pathlib strips all trailing slash...
X Description: Add trailing slashes to expected Path.glob() results wherever a pattern has a trailing slash. This matches what glob.glob() produces. Due to another bug (GH-65238) pathlib strips all trailing slash...
Opengraph URL: https://github.com/python/cpython/pull/112365
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5c9792e4-40ee-7cf0-e927-c1df947a963d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A528:20B685:100D6D:166FFC:696A39B9 |
| html-safe-nonce | e3ed2fc768a80ee762197ecff1012dfaab26f144fe7cb70a4d7981a50ad2ae65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTI4OjIwQjY4NToxMDBENkQ6MTY2RkZDOjY5NkEzOUI5IiwidmlzaXRvcl9pZCI6IjM5MTE1OTg3NTMxNTA4MTA1NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a1e987d5afe7b8e27413b7c4fcd7c1af8caf2e774610e1d0b1befb2da13580b7 |
| hovercard-subject-tag | pull_request:1615557244 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/112365/files |
| 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 | Add trailing slashes to expected Path.glob() results wherever a pattern has a trailing slash. This matches what glob.glob() produces. Due to another bug (GH-65238) pathlib strips all trailing slash... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width