You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All modifications will be undone after the requesting
31
29
test function or fixture has finished. The ``raising``
@@ -64,8 +62,8 @@ and a discussion of its motivation.
64
62
65
63
.. _`monkeypatch blog post`: https://tetamap.wordpress.com//2009/03/03/monkeypatching-in-unit-tests-done-right/
66
64
67
-
Simple example: monkeypatching functions
68
-
----------------------------------------
65
+
Monkeypatching functions
66
+
------------------------
69
67
70
68
Consider a scenario where you are working with user directories. In the context of
71
69
testing, you do not want your test to depend on the running user. ``monkeypatch``
0 commit comments