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
Make "sage -t -all" more robust, in particular when SAGE_SRC is SAGE_LIB #31352
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
I think the relevant line is https://github.com/sagemath/sagetrac-mirror/blob/develop/src/sage/doctest/sources.py?h=9.3.beta7#n527. Changing this to a print statement might be good enough, and this worked in a simple test, but I'm not sure. I would feel more comfortable if, when an invalid file extension pops up, we explicitly tell the doctester to not test it, but maybe the other parts of the |
comment:5
Related: #32813 |
comment:6
I did one more commit in #32813 to also show the filename in the error message and not only the wrong extension. So it should cover the goal of this ticket too. |
Dependencies: #32813 |
Observed on conda:
Instead of showing an error, it should just warn about files that it cannot handle (and show their filenames so that it becomes clear what the problem is)
Depends on #32813
CC: @isuruf @jhpalmieri @fchapoton @seblabbe
Component: doctest framework
Issue created by migration from https://trac.sagemath.org/ticket/31352
The text was updated successfully, but these errors were encountered: