Travel through time in your tests
https://github.com/adamchainz/time-machine
This library mocks all functions from Python's standard library that return the current date or datetime.
It can be used independently, as a function decorator, or as a context manager.
- Devel package for openSUSE:Factory
-
3
derived packages
- Links to openSUSE:Factory / python-time-machine
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python/python-time-machine && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
python-time-machine-2.2.0.tar.gz | 0000024519 23.9 KB | |
python-time-machine.changes | 0000001017 1017 Bytes | |
python-time-machine.spec | 0000002027 1.98 KB |
Revision 3 (latest revision is 36)
Sebastian Wagner (sebix)
committed
(revision 3)
- update to version 2.2.0: - Include type hints. - Convert C module to use PEP 489 multi-phase extension module initialization. This makes the module ready for Python sub-interpreters. - Release now includes a universal2 wheel for Python 3.9 on macOS, to work on Apple Silicon. - Stop distributing tests to reduce package size. Tests are not intended to be run outside of the tox setup in the repository. Repackagers can use GitHub's tarballs per tag.
Comments 0