From: Andrew Svetlov Date: Wed, 31 Oct 2012 09:29:52 +0000 (+0200) Subject: Fix typo in mock docs. X-Git-Tag: v3.3.1rc1~720 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ea6f706ac38c52b822495ddeff67f24f3109d8d;p=thirdparty%2FPython%2Fcpython.git Fix typo in mock docs. --- diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 3e500311158a..8e72696f56a7 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)