diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-10-31 11:30:18 +0200 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-10-31 11:30:18 +0200 |
commit | dcff386419f603b5402757e71e1e91947b263ead (patch) | |
tree | 452bda9101e45a9438883927ce87ba7b4d865d8a | |
parent | 3cb90241fc9d95612879bd8f479c7a059108ef0a (diff) | |
parent | 7ea6f706ac38c52b822495ddeff67f24f3109d8d (diff) | |
download | cpython-git-dcff386419f603b5402757e71e1e91947b263ead.tar.gz |
Merge: fix typo in mock docs.
-rw-r--r-- | Doc/library/unittest.mock.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 3e50031115..8e72696f56 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -1,3 +1,4 @@ + :mod:`unittest.mock` --- mock object library ============================================ @@ -646,7 +647,7 @@ the `new_callable` argument to `patch`. which have no meaning on a non-callable mock. Mock objects that use a class or an instance as a `spec` or `spec_set` are able -to pass `isintance` tests: +to pass `isinstance` tests: >>> mock = Mock(spec=SomeClass) >>> isinstance(mock, SomeClass) |