Copyright (C) 2020 Andreas Kloeckner
Here's the contents of a file containing numerics code:
!pygmentize norms.py
Note:
Docstring
Defensive programming
!pygmentize test_norms.py
!python -m pytest
A typical use for these tests would be to run them on every commit to a codebase.
Example: https://github.com/inducer/boxtree (click the "Pipeline" button)