Title: Documentation for assert_not_called() has wrong signature
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: berker.peksag, docs@python, mjkillough, python-dev
Priority: normal Keywords: patch

Created on 2016-07-16 18:00 by mjkillough, last changed 2016-07-17 12:27 by berker.peksag. This issue is now closed.

File name Uploaded Description Edit
docs-assert_not_called.patch mjkillough, 2016-07-16 18:00 review
Messages (3)
msg270577 - (view) Author: Michael Killough (mjkillough) Date: 2016-07-16 18:00
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.
msg270636 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-07-17 12:26
New changeset b43f61118793 by Berker Peksag in branch '3.5':
Issue #27531: Update signature of Mock.assert_not_called method

New changeset f4541c56c353 by Berker Peksag in branch 'default':
Issue #27531: Merge from 3.5
msg270637 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-07-17 12:27
Good catch, thanks Michael!
Date User Action Args
2016-07-17 12:27:22berker.peksagsetstatus: open -> closed

type: behavior

nosy: + berker.peksag
messages: + msg270637
resolution: fixed
stage: resolved
2016-07-17 12:26:40python-devsetnosy: + python-dev
messages: + msg270636
2016-07-16 18:00:02mjkilloughcreate