From aa8ec7e076893aaf50ae09956e8a6984985c5cc4 Mon Sep 17 00:00:00 2001 From: Michael Foord Date: Wed, 28 Mar 2012 15:41:28 +0100 Subject: Fix unittest.mock.patch docstring --- Lib/unittest/mock.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 0ae498c..0a9aece 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1351,8 +1351,6 @@ def patch( ): """ `patch` acts as a function decorator, class decorator or a context - - `patch` acts as a function decorator, class decorator or a context manager. Inside the body of the function or with statement, the `target` is patched with a `new` object. When the function/with statement exits the patch is undone. -- cgit v0.12