[issue27531] Documentation for assert_not_called() has wrong signature
New submission from Michael Killough: The documentation for `Mock.assert_not_called` gives its signature as `assert_not_called(*args, **kwargs)`. Since 01ae1ac2daf4, its signature has just been `assert_not_called()`. I've attached a trivial patch that updates the documentation to match the new signature. ---------- assignee: docs@python components: Documentation files: docs-assert_not_called.patch keywords: patch messages: 270577 nosy: docs@python, mjkillough priority: normal severity: normal status: open title: Documentation for assert_not_called() has wrong signature versions: Python 3.5, Python 3.6 Added file: http://bugs.python.org/file43754/docs-assert_not_called.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27531> _______________________________________
Roundup Robot added the comment: New changeset b43f61118793 by Berker Peksag in branch '3.5': Issue #27531: Update signature of Mock.assert_not_called method https://hg.python.org/cpython/rev/b43f61118793 New changeset f4541c56c353 by Berker Peksag in branch 'default': Issue #27531: Merge from 3.5 https://hg.python.org/cpython/rev/f4541c56c353 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27531> _______________________________________
Berker Peksag added the comment: Good catch, thanks Michael! ---------- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27531> _______________________________________
participants (3)
-
Berker Peksag -
Michael Killough -
Roundup Robot