Typing stubs for mock
This is a PEP 561
type stub package for the mock
package.
It can be used by type-checking tools like
mypy,
pyright,
pytype,
Pyre,
PyCharm, etc. to check code that uses mock
. This version of
types-mock
aims to provide accurate annotations for
mock==5.2.*
.
This package is part of the typeshed project.
All fixes for types and metadata should be contributed there.
See the README
for more details. The source for this package can be found in the
stubs/mock
directory.
This package was tested with
mypy 1.15.0,
pyright 1.1.396,
and pytype 2024.10.11.
It was generated from typeshed commit
91a90ed1d9644377f4881816bad4b6636c84cb4d
.