File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -300,8 +300,8 @@ class _patcher:
300
300
** kwargs : Any ,
301
301
) -> _patch [_Mock ]: ...
302
302
@overload
303
+ @staticmethod
303
304
def object ( # type: ignore[misc]
304
- self ,
305
305
target : Any ,
306
306
attribute : str ,
307
307
new : _T ,
@@ -313,8 +313,8 @@ class _patcher:
313
313
** kwargs : Any ,
314
314
) -> _patch [_T ]: ...
315
315
@overload
316
+ @staticmethod
316
317
def object (
317
- self ,
318
318
target : Any ,
319
319
attribute : str ,
320
320
* ,
@@ -325,8 +325,8 @@ class _patcher:
325
325
new_callable : Any | None = ...,
326
326
** kwargs : Any ,
327
327
) -> _patch [_Mock ]: ...
328
+ @staticmethod
328
329
def multiple (
329
- self ,
330
330
target : Any ,
331
331
spec : Any | None = ...,
332
332
create : bool = ...,
@@ -335,7 +335,8 @@ class _patcher:
335
335
new_callable : Any | None = ...,
336
336
** kwargs : Any ,
337
337
) -> _patch [Any ]: ...
338
- def stopall (self ) -> None : ...
338
+ @staticmethod
339
+ def stopall () -> None : ...
339
340
340
341
patch : _patcher
341
342
You can’t perform that action at this time.
0 commit comments