freezegun
https://github.com/spulec/freezegun
Python
Let your Python tests travel through time
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to freezegun
Help out
- Issues
- Can't install older version from pip
- tz_offset doesn't work with dateutil.tz
- Mock Pandas Timestamp now/utcnow/today methods
- Update api.py
- Tests showing behaviour with pytest importlib mode.
- 1.1.0 + master: pep517 build produces `UNKNOWN-0.0.0-py3-none-any.whl`
- as_kwarg is recognized as unexpected argument by PyCharm and SonarQube
- Fix time cut-off on time_ns
- All packages whose name starts with `gi` are ignored
- FakeDatetime sometimes does not matching regular datetime behaviour
- Docs
- Python not yet supported