python / python/cpython

Allow doctest to select tests via -m/--match option

Open
#86,963 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tests type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 42797
Nosy @tim-one, @stevendaprano, @costas-basdekis
PRs
  • python/cpython#24028
  • 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 2020-12-31.19:18:13.625>
    labels = ['type-feature', 'tests', '3.10']
    title = 'Allow doctest to select tests via -m/--match option'
    updated_at = <Date 2021-01-01.09:40:34.483>
    user = 'https://github.com/costas-basdekis'
    

    bugs.python.org fields:

    activity = <Date 2021-01-01.09:40:34.483>
    actor = 'costas-basdekis'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2020-12-31.19:18:13.625>
    creator = 'costas-basdekis'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42797
    keywords = ['patch']
    message_count = 3.0
    messages = ['384132', '384142', '384158']
    nosy_count = 3.0
    nosy_names = ['tim.peters', 'steven.daprano', 'costas-basdekis']
    pr_nums = ['24028']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue42797'
    versions = ['Python 3.10']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Review the doctest command-line entry point and the tests area referenced by the issue, then inspect PR #24028 for the work already proposed. Confirm how the -m/--match option is intended to select doctest cases and use the existing tests to verify the completed behavior.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    cli, testing
    Issue type
    Feature
    Difficulty
    3/5
    Estimated time
    1-2 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    20/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.