This commit is contained in:
feuillemorte
2018-04-14 21:06:58 +03:00
parent ba7cad3962
commit 283ac8bbf4

View File

@@ -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: