diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 0ae498c0808..0a9aece8458 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1350,8 +1350,6 @@ def patch( spec_set=None, autospec=None, new_callable=None, **kwargs ): """ - `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