See http://doc.pytest.org/en/latest/doctest.html. Doctesting modules would make sure examples in our docstrings do work.