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
- Freezegun does not work well with Pyspark TimestampType
- Missing git tag for 1.2.2 release
- freeze_time broken between 1.2.1 and 1.2.2
- freeze_time not working, if module name starts with "git"
- Fix local timezone and timezone related conversions
- add optional support for patching tzlocal.get_localzone()
- Add support for postgres/psycopg2
- Freezing of custom datetime classes
- Decorators for @freeze_time don't work for pytest fixtures
- Incompatibility with dateutil.relativedelta
- Docs
- Python not yet supported