Skip to content

assertRaises should return the exception in its simple form #72322

@facundobatista

Description

@facundobatista
BPO 28135
Nosy @rhettinger, @facundobatista, @bitdancer
Superseder
  • bpo-9587: unittest.assertRaises() return the raised exception
  • 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 2016-09-14.14:44:34.077>
    created_at = <Date 2016-09-13.20:12:11.053>
    labels = []
    title = 'assertRaises should return the exception in its simple form'
    updated_at = <Date 2016-09-14.14:44:34.075>
    user = 'https://github.com/facundobatista'

    bugs.python.org fields:

    activity = <Date 2016-09-14.14:44:34.075>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-09-14.14:44:34.077>
    closer = 'r.david.murray'
    components = []
    creation = <Date 2016-09-13.20:12:11.053>
    creator = 'facundobatista'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28135
    keywords = []
    message_count = 3.0
    messages = ['276334', '276454', '276458']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'facundobatista', 'r.david.murray']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '9587'
    type = None
    url = 'https://bugs.python.org/issue28135'
    versions = []

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels
      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