Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: fix testing *rst tutorials #133

Merged
merged 1 commit into from
Feb 28, 2024
Merged

BUG: fix testing *rst tutorials #133

merged 1 commit into from
Feb 28, 2024

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Feb 28, 2024

  • get optionflags from DTConfig
  • allow pytest_extra_skips in collection

This is a minimal fix to close #130: the following passes on scipy

$ python dev.py shell
$ cd scipy/doc/source/tutorials
$ pytest doc/source/tutorial/ --doctest-glob=*rst

Further enhancements are tracked in #132, #56.

Further UX improvements:

- get optionflags from DTConfig
- allow pytest_extra_skips in collection
@ev-br
Copy link
Member Author

ev-br commented Feb 28, 2024

Am going to land this as a minimal viable implementation. A refactor needed for gh-132 is next.

@ev-br ev-br merged commit ccec95d into main Feb 28, 2024
4 checks passed
@ev-br ev-br deleted the fix_rst branch February 28, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-parity refguide-check features pytest-plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow running the plugin on rst tutorials
1 participant