Skip to content

unittest.TestResult.addSubTest should be called immediately after subtest finishes #75039

@sir-sigurd

Description

@sir-sigurd
mannequin
BPO 30856
Nosy @rbtcollins, @ezio-melotti, @voidspace, @serhiy-storchaka, @sir-sigurd
PRs
  • bpo-30856: Update TestResult early, without buffering in _Outcome #28180
  • Files
  • test_subtest.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-09-19.12:25:04.750>
    created_at = <Date 2017-07-05.13:56:35.991>
    labels = ['type-bug', 'library', '3.11']
    title = 'unittest.TestResult.addSubTest should be called immediately after subtest finishes'
    updated_at = <Date 2021-09-19.12:25:04.750>
    user = 'https://github.com/sir-sigurd'

    bugs.python.org fields:

    activity = <Date 2021-09-19.12:25:04.750>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-19.12:25:04.750>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2017-07-05.13:56:35.991>
    creator = 'sir-sigurd'
    dependencies = []
    files = ['46990']
    hgrepos = []
    issue_num = 30856
    keywords = ['patch']
    message_count = 3.0
    messages = ['297756', '401102', '402153']
    nosy_count = 5.0
    nosy_names = ['rbcollins', 'ezio.melotti', 'michael.foord', 'serhiy.storchaka', 'sir-sigurd']
    pr_nums = ['28180']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue30856'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard 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