Skip to content

unittest assertRaises should verify excClass is actually a BaseException class #60040

@danielwagner-hall

Description

@danielwagner-hall
BPO 15836
Nosy @ezio-melotti, @bitdancer, @voidspace, @PCManticore, @berkerpeksag, @vadmium, @serhiy-storchaka
Files
  • assertRaises.patch
  • assertRaises.patch
  • issue15836-2.7.patch
  • issue15836_2.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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2015-05-21.17:57:14.747>
    created_at = <Date 2012-09-01.00:25:57.186>
    labels = ['type-feature', 'library']
    title = 'unittest assertRaises should verify excClass is actually a BaseException class'
    updated_at = <Date 2015-05-21.17:57:46.866>
    user = 'https://bugs.python.org/danielwagner-hall'

    bugs.python.org fields:

    activity = <Date 2015-05-21.17:57:46.866>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2015-05-21.17:57:14.747>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2012-09-01.00:25:57.186>
    creator = 'daniel.wagner-hall'
    dependencies = []
    files = ['27079', '27080', '27081', '39426']
    hgrepos = []
    issue_num = 15836
    keywords = ['patch']
    message_count = 27.0
    messages = ['169596', '169598', '169599', '169601', '169604', '169606', '169607', '169653', '169658', '169763', '169823', '169827', '169830', '170625', '170655', '220560', '221849', '238822', '238999', '239584', '243331', '243335', '243567', '243574', '243765', '243766', '243770']
    nosy_count = 9.0
    nosy_names = ['ezio.melotti', 'r.david.murray', 'michael.foord', 'Claudiu.Popa', 'python-dev', 'berker.peksag', 'martin.panter', 'daniel.wagner-hall', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue15836'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions