Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa8ec7e

Browse files
committed
Fix unittest.mock.patch docstring
1 parent 2309ed8 commit aa8ec7e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/unittest/mock.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,8 +1350,6 @@ def patch(
13501350
spec_set=None, autospec=None, new_callable=None, **kwargs
13511351
):
13521352
"""
1353-
`patch` acts as a function decorator, class decorator or a context
1354-
13551353
`patch` acts as a function decorator, class decorator or a context
13561354
manager. Inside the body of the function or with statement, the `target`
13571355
is patched with a `new` object. When the function/with statement exits

0 commit comments

Comments
 (0)