Improve doctests - conditional dependency skip #733
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
test / CI
testing or CI
Milestone
🚀 Feature
use conditional skip for doctest which are showing metrics with additional dependency
Thx @ethanwharris for finding this nice pytest extension -
pytest-doctestplus
see sample usage: https://github.com/astropy/pytest-doctestplus#doctest-dependencies
Motivation
have all doctests/examples tested again
Pitch
At this moment we are skipping all which are not pure PyTorch so the outputs could be wrong after several changes in codebase
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: