Thanks to visit codestin.com
Credit goes to github.com

Skip to content

unittest ValueError when invoking as module #90579

Closed
@BaderSZ

Description

@BaderSZ
mannequin
BPO 46421
Nosy @rbtcollins, @ezio-melotti, @voidspace, @serhiy-storchaka, @JelleZijlstra, @miss-islington, @kumaraditya303, @BaderSZ
PRs
  • bpo-46421: Fix unittest filename evaluation when called as a module #30654
  • [3.10] bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654) #31969
  • [3.9] bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654) #31970
  • 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 = <Date 2022-03-18.03:25:14.619>
    created_at = <Date 2022-01-17.23:35:01.985>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.11', '3.7', 'library']
    title = 'unittest ValueError when invoking as module'
    updated_at = <Date 2022-03-18.03:25:14.618>
    user = 'https://github.com/BaderSZ'

    bugs.python.org fields:

    activity = <Date 2022-03-18.03:25:14.618>
    actor = 'JelleZijlstra'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-18.03:25:14.619>
    closer = 'JelleZijlstra'
    components = ['Library (Lib)']
    creation = <Date 2022-01-17.23:35:01.985>
    creator = 'BaderSZ'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46421
    keywords = ['patch']
    message_count = 5.0
    messages = ['410833', '410834', '415461', '415462', '415468']
    nosy_count = 8.0
    nosy_names = ['rbcollins', 'ezio.melotti', 'michael.foord', 'serhiy.storchaka', 'JelleZijlstra', 'miss-islington', 'kumaraditya', 'BaderSZ']
    pr_nums = ['30654', '31969', '31970']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46421'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions