Travel through time in your tests

Edit Package python-time-machine
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.

Refresh
Refresh
Source Files
Filename Size Changed
python-time-machine-2.16.0.tar.gz 0000030522 29.8 KB
python-time-machine.changes 0000006503 6.35 KB
python-time-machine.spec 0000002323 2.27 KB
Latest Revision
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1219722 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 18)
- update to 2.16.0:
  * Drop Python 3.8 support.
  * Include wheels for Python 3.13.
Comments 0
openSUSE Build Service is sponsored by