Kaydet (Commit) 7ea6f706 authored tarafından Andrew Svetlov's avatar Andrew Svetlov

Fix typo in mock docs.

üst 2c05a2e0
: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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment