Freezegun is a library for mocking Python datetimes. It does one thing, does it well, and lets you get on with your life.
AJ Kerrigan
Assertions About Exceptions With pytest.raises()
By AJ Kerrigan on 18 May 2020
It’s useful to test for exceptions exceptions in your code. A handy feature of pytest makes that fun and flexible!
There’s no Wrong Way… to Eat a Bite of Py
By AJ Kerrigan on 27 November 2019
There are many ways to tackle a Bites of Py exercise, try them all!
Under the Hood: Python Comparison Breakdown
By AJ Kerrigan on 27 October 2019
Use Python’s “dis” module to see how Python evaluates two similar comparison operations.