summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/patch.txt4
1 files 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