Skip to content

assertRaises increases reference counter #68078

@VjacheslavFyodorov

Description

@VjacheslavFyodorov
BPO 23890
Nosy @ncoghlan, @vstinner, @rbtcollins, @ezio-melotti, @bitdancer, @voidspace, @ghost-script
PRs
  • bpo-23890: Fix ref cycles in TestCase.assertRaises() #193
  • [3.6] bpo-23890: Fix ref cycles in TestCase.assertRaises() #858
  • [3.5] bpo-23890: Fix ref cycles in TestCase.assertRaises() (#193) #2228
  • Files
  • test_assertRaises.py: unit test demo for assertRaises
  • 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 2017-06-15.22:52:29.492>
    created_at = <Date 2015-04-08.18:37:05.507>
    labels = ['3.7', 'type-bug', 'library']
    title = 'assertRaises increases reference counter'
    updated_at = <Date 2017-06-15.22:52:29.491>
    user = 'https://bugs.python.org/VjacheslavFyodorov'

    bugs.python.org fields:

    activity = <Date 2017-06-15.22:52:29.491>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-06-15.22:52:29.492>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2015-04-08.18:37:05.507>
    creator = 'Vjacheslav.Fyodorov'
    dependencies = []
    files = ['38866']
    hgrepos = []
    issue_num = 23890
    keywords = []
    message_count = 12.0
    messages = ['240280', '240293', '240309', '261720', '288076', '288108', '288449', '290664', '290666', '296132', '296135', '296136']
    nosy_count = 9.0
    nosy_names = ['ncoghlan', 'vstinner', 'rbcollins', 'ezio.melotti', 'r.david.murray', 'michael.foord', 'docs@python', 'Vjacheslav.Fyodorov', 'subho']
    pr_nums = ['193', '858', '2228']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23890'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard 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