Skip to content

unittest hides traceback frames in chained exceptions #86413

@dseomn

Description

@dseomn
mannequin
BPO 42247
Nosy @iritkatriel, @dseomn
PRs
  • bpo-42247: fix unittest.assertRaises bug where traceback entries were… #23687
  • bpo-24959: fix unittest.assertRaises bug where traceback entries are dropped from chained exceptions #23688
  • Superseder
  • bpo-24959: unittest swallows part of stack trace when raising AssertionError in a TestCase
  • Files
  • foo.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-04-09.13:31:56.772>
    created_at = <Date 2020-11-02.18:25:59.527>
    labels = ['type-bug', 'library', '3.10']
    title = 'unittest hides traceback frames in chained exceptions'
    updated_at = <Date 2021-04-09.13:31:56.772>
    user = 'https://github.com/dseomn'

    bugs.python.org fields:

    activity = <Date 2021-04-09.13:31:56.772>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-09.13:31:56.772>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2020-11-02.18:25:59.527>
    creator = 'dseomn'
    dependencies = []
    files = ['49563']
    hgrepos = []
    issue_num = 42247
    keywords = ['patch']
    message_count = 3.0
    messages = ['380244', '382705', '390489']
    nosy_count = 2.0
    nosy_names = ['iritkatriel', 'dseomn']
    pr_nums = ['23687', '23688']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '24959'
    type = 'behavior'
    url = 'https://bugs.python.org/issue42247'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only 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