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 |
---|---|---|
_link | 0000000124 124 Bytes | |
python-time-machine-2.8.1.tar.gz | 0000027135 26.5 KB | |
python-time-machine.changes | 0000003341 3.26 KB | |
python-time-machine.spec | 0000002084 2.04 KB |
Revision 15 (latest revision is 32)
Sebastian Wagner (sebix)
committed
(revision 15)
- update to version 2.8.1: - Actually build Python 3.11 wheels. - update to version 2.8.0: - Build Python 3.11 wheels. - update to version 2.7.1: - Fix usage of ``ZoneInfo`` from the ``backports.zoneinfo`` package. This makes ``ZoneInfo`` support work for Python < 3.9. - update to version 2.7.0: - Support Python 3.11 (no wheels yet, they will only be available when Python 3.11 is RC when the ABI is stable).
Comments 0