You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mock.patch.object type annotation fails with **kwargs #7542
Activity
srittau commentedon Mar 24, 2022
mock.patch.object()should probably be marked as astaticmethodin the stubs. (The same fordict(),multiple(), andstopall().)Make unittest.patch.* methods static
AlexWaygood commentedon Nov 1, 2022
Reopening as per #7543 (review) -- the original snippet still causes mypy to emit a false-positive error, even using mypy master and typeshed master.