From ebf9fd31a8173372551115d2ddb2b50553565500 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Sun, 17 Jul 2016 15:26:46 +0300 Subject: Issue #27531: Update signature of Mock.assert_not_called method Since 01ae1ac2daf4, it doesn't accept any arguments. Patch by Michael Killough. --- Doc/library/unittest.mock.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 5c9177a..c13f095 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -324,7 +324,7 @@ the *new_callable* argument to :func:`patch`. >>> calls = [call(4), call(2), call(3)] >>> mock.assert_has_calls(calls, any_order=True) - .. method:: assert_not_called(*args, **kwargs) + .. method:: assert_not_called() Assert the mock was never called. -- cgit v0.12