Freezegun is a library for mocking Python datetimes. It does one thing, does it well, and lets you get on with your life.
Author
AJ Kerrigan
Latest articles
by
-
-
It’s useful to test for exceptions exceptions in your code. A handy feature of pytest makes that fun and flexible!
-
There are many ways to tackle a Bites of Py exercise, try them all!
-
Use Python’s “dis” module to see how Python evaluates two similar comparison operations.