#3290 Fix doc
This commit is contained in:
parent
ba7cad3962
commit
283ac8bbf4
|
@ -69,6 +69,7 @@ so that any attempts within tests to create http requests will fail.
|
|||
:meth:`MonkeyPatch.context` to limit the patching to the block you want tested:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
import functools
|
||||
def test_partial(monkeypatch):
|
||||
with monkeypatch.context() as m:
|
||||
|
|
Loading…
Reference in New Issue