Skip to content

pkgutil.extend_path has no tests #59022

Closed

Description

@ericvsmith
BPO 14817
Nosy @pitrou, @ericvsmith, @Windsooon
PRs
  • gh-59022: add tests to extend_path #12871
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2012-05-15.19:19:00.156>
    labels = ['easy', 'type-feature', '3.8', '3.9', '3.7', 'tests']
    title = 'pkgutil.extend_path has no tests'
    updated_at = <Date 2019-07-29.18:36:31.538>
    user = 'https://github.com/ericvsmith'

    bugs.python.org fields:

    activity = <Date 2019-07-29.18:36:31.538>
    actor = 'nanjekyejoannah'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2012-05-15.19:19:00.156>
    creator = 'eric.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 14817
    keywords = ['patch', 'easy']
    message_count = 10.0
    messages = ['160751', '160784', '160785', '160792', '160809', '221843', '338577', '338934', '339764', '340465']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'eric.smith', 'Arfrever', 'Windson Yang']
    pr_nums = ['12871']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue14817'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Linked PRs

    Activity

    1. Windsooon commented on Apr 18, 2019

      Windsooonmannequin
      Mannequin

      I added some tests in the PR. Actually, there are some tests for extend_path already (see https://github.com/python/cpython/blob/master/Lib/test/test_pkgutil.py#L235). However, I didn't test every line of the code in the extend_path function.

    2. transferred this issue fromon Apr 10, 2022
    3. added 5 commits that reference this issue on Jul 13, 2024
    4. added a commit that references this issue on Jul 16, 2024
    5. added a commit that references this issue on Jul 16, 2024
    6. added a commit that references this issue on Jul 17, 2024
    7. added 2 commits that reference this issue on Jul 18, 2024
    8. added 2 commits that reference this issue on Jul 19, 2024
    9. encukou commented on Jul 19, 2024

      @encukou
      Member

      Thank you!

    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

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions