Skip to content

"unittest.TestCase.debug" should honour "skip" (and other test controls) #80855

Description

@d-maurer
mannequin
BPO 36674
Nosy @terryjreedy, @d-maurer, @rbtcollins, @ezio-melotti, @voidspace, @serhiy-storchaka, @lisroach, @miss-islington
PRs
  • bpo-36674: Stops skipped tests from running in debug mode. #13180
  • bpo-36674: Honour the skipping decorators in TestCase.debug() #28446
  • [3.10] bpo-36674: Honour the skipping decorators in TestCase.debug() (GH-28446) #28447
  • [3.9] bpo-36674: Honour the skipping decorators in TestCase.debug() (GH-28446) #28448
  • Dependencies
  • bpo-41620: Python Unittest does not return results object when the test is skipped
  • Files
  • utest.py
  • 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 2021-12-16.11:58:24.474>
    created_at = <Date 2019-04-20.09:20:54.728>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = '"unittest.TestCase.debug" should honour "skip" (and other test controls)'
    updated_at = <Date 2021-12-16.11:58:24.474>
    user = 'https://github.com/d-maurer'

    bugs.python.org fields:

    activity = <Date 2021-12-16.11:58:24.474>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-12-16.11:58:24.474>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2019-04-20.09:20:54.728>
    creator = 'dmaurer'
    dependencies = ['41620']
    files = ['48287']
    hgrepos = []
    issue_num = 36674
    keywords = ['patch']
    message_count = 15.0
    messages = ['340569', '340954', '340976', '341122', '341135', '348576', '400560', '401105', '402127', '402128', '402129', '402130', '402131', '402133', '402134']
    nosy_count = 8.0
    nosy_names = ['terry.reedy', 'dmaurer', 'rbcollins', 'ezio.melotti', 'michael.foord', 'serhiy.storchaka', 'lisroach', 'miss-islington']
    pr_nums = ['13180', '28446', '28447', '28448']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36674'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions