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.2.tar.gz | 0000027856 27.2 KB | |
python-time-machine.changes | 0000003972 3.88 KB | |
python-time-machine.spec | 0000002103 2.05 KB |
Revision 19 (latest revision is 36)
Matej Cepl (mcepl)
accepted
request 1078375
from
Dominique Leuenberger (dimstar)
(revision 19)
- BuildRequire python38-backports.zoneinfo only when python38-base is present in the buildsystem: fix build on distros where python 3.8 is no longer in the supported set of python interpreters. - Update to version 2.8.2
Comments 0