Skip to content

unittest.mock.Mock should not allow you to use non-existent assert methods #65437

@voidspace

Description

@voidspace
BPO 21238
Nosy @voidspace, @dimaqq, @kushaldas
Files
  • issue21238.patch: Patch with docs and test changes.
  • 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/voidspace'
    closed_at = <Date 2014-04-16.18:06:58.274>
    created_at = <Date 2014-04-15.15:51:18.917>
    labels = ['type-bug', 'library']
    title = 'unittest.mock.Mock should not allow you to use non-existent assert methods'
    updated_at = <Date 2015-07-16.22:51:51.947>
    user = 'https://github.com/voidspace'

    bugs.python.org fields:

    activity = <Date 2015-07-16.22:51:51.947>
    actor = 'John Allison'
    assignee = 'michael.foord'
    closed = True
    closed_date = <Date 2014-04-16.18:06:58.274>
    closer = 'python-dev'
    components = ['Library (Lib)']
    creation = <Date 2014-04-15.15:51:18.917>
    creator = 'michael.foord'
    dependencies = []
    files = ['34912']
    hgrepos = []
    issue_num = 21238
    keywords = ['patch']
    message_count = 7.0
    messages = ['216320', '216481', '216518', '216534', '246689', '246690', '246836']
    nosy_count = 5.0
    nosy_names = ['michael.foord', 'python-dev', 'Dima.Tisnek', 'kushal.das', 'John Allison']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue21238'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard 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