This Page

Quick search

Note: in a file named test_X, functions whose only test is their docstring (as
a doctest) and which have no test functionality of their own, should be called
‘doctest_foo’ instead of ‘test_foo’, otherwise they get double-counted (the
empty function call is counted as a test, which just inflates tests numbers
artificially).