Skip to main content

Typing stubs for mock

Project description

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, PyCharm, etc. to check code that uses mock.

This version of types-mock aims to provide accurate annotations for mock==5.1.*. The source for this package can be found at https://github.com/python/typeshed/tree/main/stubs/mock. All fixes for types and metadata should be contributed there.

See https://github.com/python/typeshed/blob/main/README.md for more details. This package was generated from typeshed commit 273e9ea6ddc2d5cad2db7dd25a0383a61be15675 and was tested with mypy 1.10.0, pyright 1.1.360, and pytype 2024.4.11.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

types-mock-5.1.0.20240425.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

types_mock-5.1.0.20240425-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page