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
I learned about scipy-doctest recent release in the Scientific Python Discourse announcement. Apparently, scipy-doctest has been used internally in numpy and scipy for doctests for some time. In particular it allows floating point comparisons.
After a bit of work from us setting everything up, it would allow to have a few sprint / first good issues.
There is quite a few places where we used the doctest ellipsis, the quick and dirty following regexp finds 595 lines:
git grep -P '\d+\.\.\.' | wc -l
If you are not sure what I am talking about, this is the ... for doctest in rst for docstrings e.g. the last line of this snippet:
An example of a doctest with a spurious failure recently: #29140 (comment)
If you are wondering about the difference to pytest-doctestplus look at this. This does seem a bit unfortunate to have scipy/scipy_doctest and scientific-python/pytest-doctestplus but oh well (full disclosure I did not have time to look into the history) ...
The text was updated successfully, but these errors were encountered:
I learned about scipy-doctest recent release in the Scientific Python Discourse announcement. Apparently, scipy-doctest has been used internally in numpy and scipy for doctests for some time. In particular it allows floating point comparisons.
After a bit of work from us setting everything up, it would allow to have a few sprint / first good issues.
There is quite a few places where we used the doctest ellipsis, the quick and dirty following regexp finds 595 lines:
If you are not sure what I am talking about, this is the
...
for doctest in rst for docstrings e.g. the last line of this snippet:An example of a doctest with a spurious failure recently: #29140 (comment)
If you are wondering about the difference to pytest-doctestplus look at this. This does seem a bit unfortunate to have
scipy/scipy_doctest
andscientific-python/pytest-doctestplus
but oh well (full disclosure I did not have time to look into the history) ...The text was updated successfully, but these errors were encountered: