Commit 15033d14 authored by Ben Lloyd's avatar Ben Lloyd Committed by Serhiy Storchaka

Corrected grammar mistake in documentation (#1713)

There was an unneeded space before a closing parenthesis in the `unittest.mock` documentation.
parent 50e86033
......@@ -1572,8 +1572,8 @@ do then it imports ``SomeClass`` from module a. If we use :func:`patch` to mock
reference to the *real* ``SomeClass`` and it looks like our patching had no
effect.
The key is to patch out ``SomeClass`` where it is used (or where it is looked up
). In this case ``some_function`` will actually look up ``SomeClass`` in module b,
The key is to patch out ``SomeClass`` where it is used (or where it is looked up).
In this case ``some_function`` will actually look up ``SomeClass`` in module b,
where we have imported it. The patching should look like::
@patch('b.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