Skip to content

Provide target name in output message when Mock.assert_called_once_with fails #59528

@BrianJones

Description

@BrianJones
BPO 15323
Nosy @merwok, @voidspace, @cjerdonek
Files
  • mock_assert_called_once_with_output_update.patch: Enhance usefulness of assert_called_once_with failure message.
  • mock_assert_called_once_with_output_update_including_test.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/voidspace'
    closed_at = <Date 2012-09-28.15:16:36.436>
    created_at = <Date 2012-07-11.03:19:21.310>
    labels = ['type-feature', 'library']
    title = 'Provide target name in output message when Mock.assert_called_once_with fails'
    updated_at = <Date 2012-09-28.15:27:32.066>
    user = 'https://bugs.python.org/BrianJones'

    bugs.python.org fields:

    activity = <Date 2012-09-28.15:27:32.066>
    actor = 'michael.foord'
    assignee = 'michael.foord'
    closed = True
    closed_date = <Date 2012-09-28.15:16:36.436>
    closer = 'python-dev'
    components = ['Library (Lib)']
    creation = <Date 2012-07-11.03:19:21.310>
    creator = 'Brian.Jones'
    dependencies = []
    files = ['26348', '27335']
    hgrepos = []
    issue_num = 15323
    keywords = ['patch']
    message_count = 8.0
    messages = ['165223', '165224', '165239', '165445', '171486', '171487', '171489', '171492']
    nosy_count = 6.0
    nosy_names = ['eric.araujo', 'michael.foord', 'chris.jerdonek', 'Brian.Jones', 'python-dev', 'Arnav.Khare']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue15323'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions