-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
The doctests are not run as part of the CI process despite a dedicated tox environment (doctests). Currently, all but 3 doctests fail on main (bdfb17a):
Doctest summary
===============
107 tests
104 failures in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems, 18 warnings.
Both running the doctests as part of the CI (e.g., as a job step under the docs job in testing.yml):
...
docs:
...
- name: Test doctests
run: tox -e doctests
...
and resolving the errors will help identify bad examples and keep examples up to date as the library changes.
PS: One can run the doctests in any given file using:
python -m doctest -v <FILE>doctest directives can be specified using the doctest option-o (e.g., -o ELLIPSIS).
Metadata
Metadata
Assignees
Labels
No labels