gh-59022: Added tests for pkgutil.extend_path (#59022)#121673
Conversation
Sorry, something went wrong.
c6c232c to
8fb5f1c
Compare
July 13, 2024 11:59
8fb5f1c to
c2ddc1d
Compare
July 13, 2024 14:36
This adds tests for the documented behaviour of `pkgutil.extend_path` regarding different argument types as well as for `*.pkg` files.
c2ddc1d to
982a647
Compare
July 13, 2024 14:42
|
Thanks! Just one more issue :) For the future: please avoid force-pushing to CPython PRs; it makes them harder to review. Just add additional commits. The PR will be squashed when it's merged. |
Sorry, something went wrong.
…on only Co-authored-by: Petr Viktorin <encukou@gmail.com>
Thanks for the hint. I will not use force-push for future CPython PRs. Also, the comment in the test is removed now, so this PR is ready to be reviewed again. |
Sorry, something went wrong.
|
Thank you! |
Sorry, something went wrong.
|
Thanks @beachmachine for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
|
Thanks @beachmachine for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
pythonGH-121673) This adds tests for the documented behaviour of `pkgutil.extend_path` regarding different argument types as well as for `*.pkg` files. (cherry picked from commit 8f25321) Co-authored-by: Andreas Stocker <andreas@stocker.co.it>
…ythonGH-121673) This adds tests for the documented behaviour of `pkgutil.extend_path` regarding different argument types as well as for `*.pkg` files.
|
Thanks @beachmachine for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
|
Thanks @beachmachine for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
pythonGH-121673) This adds tests for the documented behaviour of `pkgutil.extend_path` regarding different argument types as well as for `*.pkg` files. (cherry picked from commit 8f25321) Co-authored-by: Andreas Stocker <andreas@stocker.co.it>
pythonGH-121673) This adds tests for the documented behaviour of `pkgutil.extend_path` regarding different argument types as well as for `*.pkg` files. (cherry picked from commit 8f25321) Co-authored-by: Andreas Stocker <andreas@stocker.co.it>
This adds tests for the documented behaviour of
pkgutil.extend_pathregarding different argument types as well as for*.pkgfiles.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.