Skip to content

ImportWarning in test_importlib ... test_permission_error_cwd #131647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
graingert opened this issue Mar 24, 2025 · 1 comment
Closed

ImportWarning in test_importlib ... test_permission_error_cwd #131647

graingert opened this issue Mar 24, 2025 · 1 comment
Labels
3.14 new features, bugs and security fixes tests Tests in the Lib/test dir topic-importlib type-bug An unexpected behavior, bug, or error

Comments

@graingert
Copy link
Contributor

graingert commented Mar 24, 2025

Bug report

Bug description:

test_permission_error_cwd (test.test_importlib.import_.test_path.Source_FindModuleTests.test_permission_error_cwd) ... /home/graingert/projects/cpython/Lib/importlib/_bootstrap_external.py:1227: ImportWarning: sys.path_hooks is empty
  _warnings.warn('sys.path_hooks is empty', ImportWarning)
ok

CPython versions tested on:

3.14, CPython main branch

Operating systems tested on:

Linux

Linked PRs

@graingert graingert added the type-bug An unexpected behavior, bug, or error label Mar 24, 2025
@graingert
Copy link
Contributor Author

Introduced in #116131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 new features, bugs and security fixes tests Tests in the Lib/test dir topic-importlib type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants