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.14.1.tar.gz | 0000029600 28.9 KB | |
python-time-machine.changes | 0000006048 5.91 KB | |
python-time-machine.spec | 0000002323 2.27 KB |
Revision 31 (latest revision is 36)
Dirk Mueller (dirkmueller)
committed
(revision 31)
- update to 2.14.1: * Fix segmentation fault when the first travel() call in a process uses a timedelta.
Comments 0