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
- Reject bool for tick delta and auto_tick_seconds
- Add pytest fixture usage example to README
- Convert datetime.now(tz) from the frozen instant
- Add socketserver to the default ignore list
- Freeze time.asctime() and time.ctime()
- Improve performance of _get_module_attributes_hash by a factor of at least 2
- Fix time.mktime() not being faked under freeze_time
- Fix: FakeDatetime.now() in freezegun/api.py applied `+ cls._tz_offset()`...
- Remove stale Python 3.7 version guards in tests
- Pin actions/checkout to v4 instead of @master
- Docs
- Python not yet supported