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
Right now the doctests are run with a separate script, ./run_doctests. This is done because we have to patch the doctest runner to get the behavior we want.
It would be nice to get it so that pytest runs the doctests. Possible ways to do this:
Hook into the pytest runner in run_doctests so that the collecter sees them as tests and automatically runs them. I don't know how hard this is to do.
Make a custom test that runs run_doctest. The issue here is how to make it show the output nicely, especially when there are failures. I don't know if there is a way to do it, other than to basically do option 1.
The text was updated successfully, but these errors were encountered:
Right now the doctests are run with a separate script,
./run_doctests
. This is done because we have to patch the doctest runner to get the behavior we want.It would be nice to get it so that
pytest
runs the doctests. Possible ways to do this:The text was updated successfully, but these errors were encountered: