Skip to content

mock.patch with autospec does not consume self / cls argument #76273

@bclau

Description

@bclau
mannequin
BPO 32092
Nosy @cjw296, @voidspace, @phmc, @lisroach, @mariocj89, @BCLAU, @tirkarthi
PRs
  • bpo-32092: Mock patch fix autospec #4476
  • 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 = None
    created_at = <Date 2017-11-20.15:50:21.285>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = 'mock.patch with autospec does not consume self / cls argument'
    updated_at = <Date 2019-10-28.20:46:16.247>
    user = 'https://github.com/bclau'

    bugs.python.org fields:

    activity = <Date 2019-10-28.20:46:16.247>
    actor = 'pconnell'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2017-11-20.15:50:21.285>
    creator = 'cbelu'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32092
    keywords = ['patch']
    message_count = 2.0
    messages = ['306559', '306560']
    nosy_count = 7.0
    nosy_names = ['cjw296', 'michael.foord', 'pconnell', 'lisroach', 'mariocj89', 'cbelu', 'xtreak']
    pr_nums = ['4476']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32092'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9only security fixespendingThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions