Title: gh-59022: Added tests for `pkgutil.extend_path` (#59022) by beachmachine · Pull Request #121673 · python/cpython · GitHub
Open Graph Title: gh-59022: Added tests for `pkgutil.extend_path` (#59022) by beachmachine · Pull Request #121673 · python/cpython
X Title: gh-59022: Added tests for `pkgutil.extend_path` (#59022) by beachmachine · Pull Request #121673 · python/cpython
Description: This adds tests for the documented behaviour of pkgutil.extend_path regarding different argument types as well as for *.pkg files. I took inspiration from the PR #12871 for the tests I've added. However, some of those tests did not seem to make sense to me, so I've ended up with the two test-cases in this PR. Issue: gh-59022
Open Graph Description: This adds tests for the documented behaviour of pkgutil.extend_path regarding different argument types as well as for *.pkg files. I took inspiration from the PR #12871 for the tests I've added...
X Description: This adds tests for the documented behaviour of pkgutil.extend_path regarding different argument types as well as for *.pkg files. I took inspiration from the PR #12871 for the tests I've a...
Opengraph URL: https://github.com/python/cpython/pull/121673
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f48984db-d5c4-abaf-3bd7-d94397296024 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DEEE:ADE9F:77E362:A6385E:6A512782 |
| html-safe-nonce | 0c430e5238d250614203fa3f3e0961cc8bdf58f6d2829f5bf914e8ee078d9d0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUVFOkFERTlGOjc3RTM2MjpBNjM4NUU6NkE1MTI3ODIiLCJ2aXNpdG9yX2lkIjoiNjg0NjkyMjE4OTQ0MDEwMDIyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f0a68f5864075723917e73ffd5ec09616fb2ef377d05158b61245397baa08675 |
| hovercard-subject-tag | pull_request:1967759128 |
| 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/121673/files |
| twitter:image | https://avatars.githubusercontent.com/u/1974385?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1974385?s=400&v=4 |
| og:image:alt | This adds tests for the documented behaviour of pkgutil.extend_path regarding different argument types as well as for *.pkg files. I took inspiration from the PR #12871 for the tests I've added... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 689b683944b0d7f015d0e776452c970832fa81b82dc15284469b556ecced715b |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 942b51ed3bd5feee3d5e2719f890a5fe286edbbb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width