Skip to content

Tips

Pytest: does not raise

If you took the wise decision to test your codebase, you probably stumbled upon pytest as the defacto tool that offers a large suite of features and extensions.

However, there is a neat trick I like to use when testing, and I often get the "Wow! TIL about that!" reaction when introducing it.