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, 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.400, and pytype 2024.10.11. It was generated from typeshed commit 126768408a69b7a3a09b7d3992970b289f92937e.

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.2.0.20250516.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

types_mock-5.2.0.20250516-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file types_mock-5.2.0.20250516.tar.gz.

File metadata

  • Download URL: types_mock-5.2.0.20250516.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for types_mock-5.2.0.20250516.tar.gz
Algorithm Hash digest
SHA256 aab7d3d9ad3814f2f8da12cc8e42d9be7d38200c5f214e3c0278c38fa01299d7
MD5 f4129fca57345803e297ce7b9d2ee3eb
BLAKE2b-256 17207b9e8068bc2db2432389e40683f5d04c1901f72c150332f6749aa37bc5ef

See more details on using hashes here.

File details

Details for the file types_mock-5.2.0.20250516-py3-none-any.whl.

File metadata

File hashes

Hashes for types_mock-5.2.0.20250516-py3-none-any.whl
Algorithm Hash digest
SHA256 e50fbd0c3be8bcea25c30a47fac0b7a6ca22f630ef2f53416a73b319b39dfde1
MD5 f58c5514dabc3a78e895fa55bf38cb68
BLAKE2b-256 21809e4a5f6dddb4ee046884e06ce6c80bc2266604e3452154a0e383a6f49414

See more details on using hashes here.

Supported by

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