From 947e851cf8d46584b219ab2ea2e68c258eaa9849 Mon Sep 17 00:00:00 2001 From: Matthew Suozzo Date: Thu, 30 Sep 2021 13:14:10 -0400 Subject: [PATCH] Remove typevar in mock.patch.multiple (#6090) --- stdlib/unittest/mock.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/unittest/mock.pyi b/stdlib/unittest/mock.pyi index f22deb944..5b3816d04 100644 --- a/stdlib/unittest/mock.pyi +++ b/stdlib/unittest/mock.pyi @@ -320,8 +320,8 @@ class _patcher: spec_set: Any | None = ..., autospec: Any | None = ..., new_callable: Any | None = ..., - **kwargs: _T, - ) -> _patch[_T]: ... + **kwargs: Any, + ) -> _patch[Any]: ... def stopall(self) -> None: ... patch: _patcher