Skip to content

unittest filters out too many assertion stack frames from context/cause chains #88446

@peterhawkins

Description

@peterhawkins
BPO 44280
Nosy @iritkatriel
Superseder
  • bpo-24959: unittest swallows part of stack trace when raising AssertionError in a TestCase
  • 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-06-02.14:06:41.751>
    created_at = <Date 2021-06-01.19:42:48.013>
    labels = ['type-bug', 'library', '3.9']
    title = 'unittest filters out too many assertion stack frames from context/cause chains'
    updated_at = <Date 2021-06-02.14:06:41.750>
    user = 'https://bugs.python.org/peterhawkins'

    bugs.python.org fields:

    activity = <Date 2021-06-02.14:06:41.750>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-02.14:06:41.751>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2021-06-01.19:42:48.013>
    creator = 'peter.hawkins'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44280
    keywords = []
    message_count = 2.0
    messages = ['394865', '394910']
    nosy_count = 2.0
    nosy_names = ['iritkatriel', 'peter.hawkins']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '24959'
    type = 'behavior'
    url = 'https://bugs.python.org/issue44280'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions