Skip to content

unittest.TestCase.subTest causes all subsequent tests to be skipped in failfast mode #67083

@TreyCucco

Description

@TreyCucco
mannequin
BPO 22894
Nosy @pitrou, @rbtcollins, @ezio-melotti, @voidspace, @ethanfurman
Files
  • utbug.py: A python script demonstrating the bug
  • subtests_failfast.patch
  • 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 2014-11-23.15:06:40.650>
    created_at = <Date 2014-11-17.22:18:09.098>
    labels = ['type-bug', 'tests']
    title = 'unittest.TestCase.subTest causes all subsequent tests to be skipped in failfast mode'
    updated_at = <Date 2014-11-23.15:06:40.649>
    user = 'https://bugs.python.org/TreyCucco'

    bugs.python.org fields:

    activity = <Date 2014-11-23.15:06:40.649>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-11-23.15:06:40.650>
    closer = 'pitrou'
    components = ['Tests']
    creation = <Date 2014-11-17.22:18:09.098>
    creator = 'Trey.Cucco'
    dependencies = []
    files = ['37218', '37238']
    hgrepos = []
    issue_num = 22894
    keywords = ['patch']
    message_count = 4.0
    messages = ['231305', '231449', '231468', '231562']
    nosy_count = 7.0
    nosy_names = ['pitrou', 'rbcollins', 'ezio.melotti', 'michael.foord', 'ethan.furman', 'python-dev', 'Trey.Cucco']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22894'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions