pytest: enable doctest-style testing
pytest: enable doctest-style testing

An alternative to writing separate test functions is "doctest"[1]. This lets one
write test "inline" in function documentation which serves both to test the
function but also provides an example of use.

[1] https://docs.python.org/3/library/doctest.html

cuspaceflight/firefish,cuspaceflight/firefish