You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, $ pytest --doctest-modules --collect only docs/source/tutorial reports 0 items collected but pop up a bunch of MPL figures. So, something pytest-y or doctest-y sneaks in, imports and runs examples.
A breakpoint in a Runner.run does not get hit --- makes sense if 0 items are collected.
A breakpoint in DTTextfile.collect does not get hit either.
The text was updated successfully, but these errors were encountered:
MPL figures are.py files in the examples/ folder. They (at least some of them) get included into code-blocks in rst, so need the folder needs to be excluded
Further hiccup: $ pytest doc/source/tutorials --doctest-modules does not find the conftest.py --- the conftest.py lives in scipy/scipy and the docs are in scipy/docs/tutorial. We thus only get a default DTConfig instance from scpdt itself.
EDIT: seems to be solved by adding a conftest.py to doc/source/tutorial ?
Currently,
$ pytest --doctest-modules --collect only docs/source/tutorial
reports 0 items collected but pop up a bunch of MPL figures. So, something pytest-y or doctest-y sneaks in, imports and runs examples.A breakpoint in a Runner.run does not get hit --- makes sense if 0 items are collected.
A breakpoint in DTTextfile.collect does not get hit either.
The text was updated successfully, but these errors were encountered: