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
- 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
- Fully compliant PEP-517
- Fails to work with time.localtime().tm_gmtoff
- Return exact type from `freeze_time()` context manager
- freezegun does not work with `datetime.astimezone()`
- Correct ticking behavior with `time.time_ns()`
- Docs
- Python not yet supported