Skip to content

ImportWarning in test_importlib ... test_permission_error_cwd #131647

Closed

Description

@graingert

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

Activity

  1. graingert commented on Mar 24, 2025

    @graingert
    ContributorAuthor

    Introduced in #116131

  2. added a commit that references this issue on Mar 24, 2025
  3. added
    testsTests in the Lib/test dir
    3.14bugs and security fixes
    on Mar 24, 2025
  4. added a commit that references this issue on Mar 25, 2025
  5. added a commit that references this issue on Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixestestsTests in the Lib/test dirtopic-importlibtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions