-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
More doctests fix in sage_docbuild #33538
Comments
New commits:
|
Branch: u/fbissey/trac33538 |
Commit: |
comment:3
Would it be too clumsy to conditionally import |
comment:4
I tried various approaches. I am not sure about importing conditionally. Would you look at os.getenv? While I only defined Now that I look at it with a bit of distance, there is one thing that could be interesting to try. Define |
comment:5
Having thought about it more, I think it's too fragile to have doctests depend on whether Tests pass on Sage built from scratch, and I trust that they fix problems, or at least don't cause any new ones, for distros. |
Reviewer: John Palmieri |
comment:6
Thank you. |
Changed branch from u/fbissey/trac33538 to |
A fix for a couple of doctest went missing from #33141.
Doctesting this file in is made more robust, and distro friendly by allowing and making
SAGE_DOC
to be a random temporary directory at the start of the doctesting of the file.To allow
SAGE_DOC
to be set randomly for doctesting we cannot let it be imported globally in the whole file. Functions that uses it need to import it explicitly.Depends on #33141
CC: @jhpalmieri
Component: distribution
Author: François Bissey
Branch/Commit:
3569408
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/33538
The text was updated successfully, but these errors were encountered: