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
- Time is not freezed when using `uvloop` event loop
- Bug Repro: FakeDatetime should be real when part of ignored_modules
- time.localtime returns unexpected values
- time.strftime returns unexpected values
- freeze_time doesn't work with functools.partial
- Installing freezegun in other setup.py
- Nested class decorators
- Freezegun 0.3.13 FakeDateTime cannot be processed properly by JWT
- `IndexError: list index out of range` thrown when calling `_freeze_time.stop()`
- Inconsistent behaviour for freeze_time
- Docs
- Python not yet supported