Skip to content

unittest.mock.call can't represent calls to a method called 'parent' #79538

@cjw296

Description

@cjw296
BPO 35357
Nosy @cjw296, @voidspace, @mariocj89, @and3rson
PRs
  • bpo-35357: Add _mock_ prefix to mangle _Call/_MagicProxy attributes #10873
  • [3.7] bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (GH-10873) #10887
  • [3.6] bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (GH-10873) #10888
  • 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/cjw296'
    closed_at = <Date 2018-12-04.09:35:25.217>
    created_at = <Date 2018-11-30.07:55:37.647>
    labels = []
    title = "unittest.mock.call can't represent calls to a method called 'parent'"
    updated_at = <Date 2018-12-04.09:35:25.217>
    user = 'https://github.com/cjw296'

    bugs.python.org fields:

    activity = <Date 2018-12-04.09:35:25.217>
    actor = 'cjw296'
    assignee = 'cjw296'
    closed = True
    closed_date = <Date 2018-12-04.09:35:25.217>
    closer = 'cjw296'
    components = []
    creation = <Date 2018-11-30.07:55:37.647>
    creator = 'cjw296'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35357
    keywords = ['patch']
    message_count = 9.0
    messages = ['330757', '330964', '330965', '330966', '330967', '330971', '331019', '331021', '331022']
    nosy_count = 4.0
    nosy_names = ['cjw296', 'michael.foord', 'mariocj89', 'and3rson']
    pr_nums = ['10873', '10887', '10888']
    priority = 'normal'
    resolution = None
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue35357'
    versions = []

    Metadata

    Metadata

    Assignees

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions