Skip to content

reset_mock on mock created by mock_open causes infinite recursion #62822

@voidspace

Description

@voidspace
BPO 18622
Nosy @rbtcollins, @voidspace, @florentx, @berkerpeksag, @kushaldas
Files
  • issue18622.patch
  • issue18622_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/rbtcollins'
    closed_at = <Date 2015-07-15.00:08:57.714>
    created_at = <Date 2013-08-01.21:04:17.258>
    labels = ['easy', 'type-bug', 'library']
    title = 'reset_mock on mock created by mock_open causes infinite recursion'
    updated_at = <Date 2015-07-15.00:08:57.714>
    user = 'https://github.com/voidspace'

    bugs.python.org fields:

    activity = <Date 2015-07-15.00:08:57.714>
    actor = 'rbcollins'
    assignee = 'rbcollins'
    closed = True
    closed_date = <Date 2015-07-15.00:08:57.714>
    closer = 'rbcollins'
    components = ['Library (Lib)']
    creation = <Date 2013-08-01.21:04:17.258>
    creator = 'michael.foord'
    dependencies = []
    files = ['31694', '33463']
    hgrepos = []
    issue_num = 18622
    keywords = ['patch', 'easy']
    message_count = 11.0
    messages = ['194119', '194166', '197357', '208029', '208092', '208093', '208095', '219105', '246743', '246745', '246746']
    nosy_count = 8.0
    nosy_names = ['rbcollins', 'michael.foord', 'flox', 'python-dev', 'berker.peksag', 'kushal.das', 'nicola.palumbo', 'Laurent.De.Buyst']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue18622'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    easystdlibStandard 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