The current configuration of pytest in setup.cfg does not run doctest on the package modules. Although --doctest-modules is set, the testpaths setting only includes tests, so none of the module code is tested.
To Reproduce
If testpaths = tests is changed to testpaths = tests pyrealm then the doctests are discovered, many of which fail.
Describe the bug
The current configuration of
pytest
insetup.cfg
does not rundoctest
on the package modules. Although--doctest-modules
is set, thetestpaths
setting only includestests
, so none of the module code is tested.To Reproduce
If
testpaths = tests
is changed totestpaths = tests pyrealm
then the doctests are discovered, many of which fail.