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.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's avatar Matej Cepl (mcepl) accepted request 1078375 from Dominique Leuenberger's avatar 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
openSUSE Build Service is sponsored by