Skip to content

unitest.mock: Using autospec=True conflicts with 'wraps' #75988

Closed
@JohnVillalovos

Description

@JohnVillalovos
BPO 31807
Nosy @rbtcollins, @ezio-melotti, @voidspace, @Lukas0907, @tirkarthi
Files
  • 0001-bpo-31807-unittest.mock-Fix-common-use-of-autospec-T.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 = None
    closed_at = None
    created_at = <Date 2017-10-18.00:48:15.176>
    labels = ['3.7', 'type-bug', 'library']
    title = "unitest.mock: Using autospec=True conflicts with 'wraps'"
    updated_at = <Date 2019-12-02.08:29:10.129>
    user = 'https://bugs.python.org/JohnVillalovos'

    bugs.python.org fields:

    activity = <Date 2019-12-02.08:29:10.129>
    actor = 'xtreak'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2017-10-18.00:48:15.176>
    creator = 'John Villalovos'
    dependencies = []
    files = ['47267']
    hgrepos = []
    issue_num = 31807
    keywords = ['patch']
    message_count = 3.0
    messages = ['304549', '306273', '352287']
    nosy_count = 6.0
    nosy_names = ['rbcollins', 'ezio.melotti', 'michael.foord', 'John Villalovos', 'Lukas Anzinger', 'xtreak']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31807'
    versions = ['Python 3.6', 'Python 3.7']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions