diff options
author | Michael Foord <michael@voidspace.org.uk> | 2012-03-28 14:41:28 (GMT) |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2012-03-28 14:41:28 (GMT) |
commit | aa8ec7e076893aaf50ae09956e8a6984985c5cc4 (patch) | |
tree | b6e59bad980d42570fd8028ccbb7cc1ae64d92e4 /Lib/unittest | |
parent | 2309ed861ac4c7c22a105f035a6adca34c0d50e6 (diff) | |
download | cpython-aa8ec7e076893aaf50ae09956e8a6984985c5cc4.zip cpython-aa8ec7e076893aaf50ae09956e8a6984985c5cc4.tar.gz cpython-aa8ec7e076893aaf50ae09956e8a6984985c5cc4.tar.bz2 |
Fix unittest.mock.patch docstring
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/mock.py | 2 |
1 files changed, 0 insertions, 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. |