From 6b147b44ff5d9faa43b83f25d288eaccec581471 Mon Sep 17 00:00:00 2001 From: Michael Foord Date: Wed, 28 Mar 2012 15:50:56 +0100 Subject: Update patch example in docs --- docs/patch.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/patch.txt b/docs/patch.txt index 4619b01..efbba4f 100644 --- a/docs/patch.txt +++ b/docs/patch.txt @@ -114,10 +114,10 @@ the decorated function: .. doctest:: >>> @patch('__main__.SomeClass') - ... def function(mock_class): + ... def function(normal_argument, mock_class): ... print mock_class is SomeClass ... - >>> function() + >>> function(None) True -- cgit v1.2.1