Mathspp Blog

342 391,958 32,910
articles words lines of code

Today I learned how to use named tuples to improve readability and flexibility of test parametrisations in pytest.

Today I learned about the parameter match used in pytest.raises.

Yesterday I spent the whole day tryint to patch a module global. This is what I ended up with.

Today I learned how to skip tests on Microsoft Windows in pytest.