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
- Feature request: allow it to accept no datetime and default to `utcnow`
- Aware Datetime Support
- TypeError: unsupported operand type(s) for +: 'FakeDate' and 'relativedelta'
- 'in' comparison changes between python 3.8 and 3.9
- Issue with dateparser
- Consider adding socketserver to the default ignore list
- datetime.utcnow() and datetime.now() return same value
- Use formatted integers
- Add parameter to increase speed of time when tick=True
- 'FakeDatetime' object cannot be interpreted as an integer
- Docs
- Python not yet supported