Title: GH-103517: Improve tests for `pathlib.Path.walk()` by barneygale · Pull Request #103518 · python/cpython · GitHub
Open Graph Title: GH-103517: Improve tests for `pathlib.Path.walk()` by barneygale · Pull Request #103518 · python/cpython
X Title: GH-103517: Improve tests for `pathlib.Path.walk()` by barneygale · Pull Request #103518 · python/cpython
Description: Remove list index juggling from tests for pathlib.Path.walk(top_down=True) and walk(top_down=False), which makes them more readable. We no longer check the order that sibling directories are visited in bottom-up mode. This order is arbitrary and cannot be controlled by the user. Issue: gh-103517
Open Graph Description: Remove list index juggling from tests for pathlib.Path.walk(top_down=True) and walk(top_down=False), which makes them more readable. We no longer check the order that sibling directories are visite...
X Description: Remove list index juggling from tests for pathlib.Path.walk(top_down=True) and walk(top_down=False), which makes them more readable. We no longer check the order that sibling directories are visite...
Opengraph URL: https://github.com/python/cpython/pull/103518
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c7b921b5-05f3-1d89-b9a9-e01547acf32c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 85C0:1AB621:77C18:9C654:6969D226 |
| html-safe-nonce | 24131000cbcdfd734f741dec90778ae53df73baf30a962a5e787d6c97ea6ac25 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUMwOjFBQjYyMTo3N0MxODo5QzY1NDo2OTY5RDIyNiIsInZpc2l0b3JfaWQiOiIxNzU0MDIxODc2MTcwNjA5MTkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a2029546e750334b2c183241ce60cc8ac6bee16c9ea613ff44fdc486f3d2e025 |
| hovercard-subject-tag | pull_request:1312808272 |
| 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/103518/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 | Remove list index juggling from tests for pathlib.Path.walk(top_down=True) and walk(top_down=False), which makes them more readable. We no longer check the order that sibling directories are visite... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width