]> granicus.if.org Git - python/commitdiff
Fix typo in mock docs.
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 31 Oct 2012 09:29:52 +0000 (11:29 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 31 Oct 2012 09:29:52 +0000 (11:29 +0200)
Doc/library/unittest.mock.rst

index 3e500311158a3617bdfbc8bc7d3760971b4c67a6..8e72696f56a720e23c138605ff12684397f1e6bc 100644 (file)
@@ -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)