summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 09:29:52 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 09:29:52 (GMT)
commit7ea6f706ac38c52b822495ddeff67f24f3109d8d (patch)
tree772a98926003c9d9060a0365e478b882a99d1539 /Doc/library/unittest.mock.rst
parent2c05a2e01b18e9d10cd153308c4866909631e8c0 (diff)
downloadcpython-7ea6f706ac38c52b822495ddeff67f24f3109d8d.zip
cpython-7ea6f706ac38c52b822495ddeff67f24f3109d8d.tar.gz
cpython-7ea6f706ac38c52b822495ddeff67f24f3109d8d.tar.bz2
Fix typo in mock docs.
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r--Doc/library/unittest.mock.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index 3e50031..8e72696 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)