mock (original) (raw)
Rolling backport of unittest.mock for all Pythons
Project description
mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used.
mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.
This package contains a rolling backport of the standard library mock code compatible with Python 3.6 and up.
Please see the standard library documentation for more details.
Homepage:
Download:
Documentation:
License:
Support:
Mailing list (testing-in-python@lists.idyll.org)
Code:
Issue tracker:
Build status:
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
Built Distribution
File details
Details for the file mock-5.2.0.tar.gz
.
File metadata
- Download URL: mock-5.2.0.tar.gz
- Upload date: Mar 3, 2025
- Size: 92.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
Hashes for mock-5.2.0.tar.gz | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 4e460e818629b4b173f32d08bf30d3af8123afbb8e04bb5707a1fd4799e503f0 | | | MD5 | 8a260b3532ed26ae0df42a80c2178f8d | | | BLAKE2b-256 | 078c14c2ae915e5f9dca5a22edd68b35be94400719ccfa068a03e0fb63d0f6f6 | |
See more details on using hashes here.
File details
Details for the file mock-5.2.0-py3-none-any.whl
.
File metadata
- Download URL: mock-5.2.0-py3-none-any.whl
- Upload date: Mar 3, 2025
- Size: 31.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
Hashes for mock-5.2.0-py3-none-any.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 7ba87f72ca0e915175596069dbbcc7c75af7b5e9b9bc107ad6349ede0819982f | | | MD5 | 32a2183cf80a7866679039de1d2d2f37 | | | BLAKE2b-256 | bdd9617e6af809bf3a1d468e0d58c3997b1dc219a9a9202e650d30c2fc85d481 | |