Skip to content

assertRaises can behave differently #68322

@magnusc

Description

@magnusc
mannequin
BPO 24134
Nosy @rhettinger, @rbtcollins, @ezio-melotti, @stevendaprano, @bitdancer, @voidspace, @serhiy-storchaka, @timgraham
Files
  • assert_raises_sentinel.patch
  • assert_raises_sentinel_2.patch
  • assert_raises_args.patch: Raises TypeError
  • assert_raises_args_deprecation.patch: Emits DeprecationWarning
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2015-05-20.15:39:48.316>
    created_at = <Date 2015-05-06.12:16:57.869>
    labels = ['type-bug', 'library']
    title = 'assertRaises can behave differently'
    updated_at = <Date 2015-06-29.07:05:18.512>
    user = 'https://bugs.python.org/magnusc'

    bugs.python.org fields:

    activity = <Date 2015-06-29.07:05:18.512>
    actor = 'rbcollins'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2015-05-20.15:39:48.316>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2015-05-06.12:16:57.869>
    creator = 'magnusc'
    dependencies = []
    files = ['39305', '39306', '39334', '39340']
    hgrepos = []
    issue_num = 24134
    keywords = ['patch']
    message_count = 20.0
    messages = ['242658', '242659', '242660', '242661', '242665', '242673', '242675', '242681', '242683', '242684', '242845', '242852', '242855', '242872', '242996', '243313', '243356', '243677', '244740', '245923']
    nosy_count = 11.0
    nosy_names = ['rhettinger', 'rbcollins', 'ezio.melotti', 'Arfrever', 'steven.daprano', 'r.david.murray', 'michael.foord', 'python-dev', 'serhiy.storchaka', 'Tim.Graham', 'magnusc']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24134'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Labels

    stdlibStandard 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