-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
docstring wide optional markup #20427
Comments
comment:2
Let me know when you need a reviewer (in case sage-devel approves of this in the end.) New commits:
|
Commit: |
comment:3
See also #3260. |
Replying to @nthiery:
One the other hand, it's not always needed to mark every test The above paragraph certainly does not apply to all optional packages, but we should we careful that people don't become lazy and mark a whole file |
comment:6
For a module-level directive in the same direction, see #30778 |
It's quite common that optional tests come in batch, typically when documenting a method that is only available when a certain feature or package is available. Having to mark each and every test with # optional xxx is redundant and reduces readability.
This ticket implements a Sphinx style markup to disable all doctests following it::
TODO:
CC: @mmasdeu
Component: doctest framework
Author: Nicolas M. Thiéry
Branch/Commit: u/nthiery/docstring_wide_optional_markup @
ae1d9e4
Issue created by migration from https://trac.sagemath.org/ticket/20427
The text was updated successfully, but these errors were encountered: