commit | 5b0c6b15055d4ae1fa09c13d59320d52b7224605 | [log] [tgz] |
---|---|---|
author | Michael Foord <michael@voidspace.org.uk> | Wed Mar 28 15:50:56 2012 +0100 |
committer | Michael Foord <michael@voidspace.org.uk> | Wed Mar 28 15:50:56 2012 +0100 |
tree | 64011de3c687f876617b9a883dc586fcb8599dd2 | |
parent | c4448af8aede783b109535c4b47e71556335f1ac [diff] |
Update patch example in docs
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 @@ .. doctest:: >>> @patch('__main__.SomeClass') - ... def function(mock_class): + ... def function(normal_argument, mock_class): ... print mock_class is SomeClass ... - >>> function() + >>> function(None) True