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
- 'bool' object is not callable
- freeze_time class decoration causes problems with subclasses and Python 3.11.1
- `time_to_freeze.today()` returns wrong time and type if TZ is not 'UTC' in env vars
- freezing time with tick=True crashes on windows
- freezetime cannot ignore datetime.datetime.now
- Freezegun doesn't freeze `timeit.default_timer()`
- How to deal with asyncio.sleep?
- Unit tests fail when run in Adelaide, Australia
- can't compare datetime.datetime to datetime.date
- Two tests failing at head
- Docs
- Python not yet supported