summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Foord <michael@voidspace.org.uk>2012-01-15 00:26:37 +0000
committerMichael Foord <michael@voidspace.org.uk>2012-01-15 00:26:37 +0000
commit06d160acb96eccb48a607421f940ca9f51ebc23d (patch)
tree13708ed5ebccedcd40895c07bf4f08cba40fca94
parent33dba228157c4e87f0401ac2c0595d0c858277b5 (diff)
downloadmock-06d160acb96eccb48a607421f940ca9f51ebc23d.tar.gz
Example update
-rw-r--r--docs/examples.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples.txt b/docs/examples.txt
index de5cddd..847a8ca 100644
--- a/docs/examples.txt
+++ b/docs/examples.txt
@@ -1198,8 +1198,8 @@ sufficient:
>>> mock.assert_called_with(Foo(1, 2))
Traceback (most recent call last):
...
- AssertionError: Expected: ((<__main__.Foo object at 0x...>,), {})
- Called with: ((<__main__.Foo object at 0x...>,), {})
+ AssertionError: Expected: call(<__main__.Foo object at 0x...>)
+ Actual call: call(<__main__.Foo object at 0x...>)
A comparison function for our `Foo` class might look something like this: