2022-11-28
|~6 min read
|1053 words
Imagine a function that, under certain conditions expects to throw an error. How might we test that with Pytest? Pytest offers two…
2022-11-28
|~2 min read
|281 words
If a Python program receives values it cannot handle, it can abort by raising an exception. Most of errors in Python are built on the…