-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
sage.doctest: Make imports more specific; make global environment for tests customizable #29922
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:6
Probably we will need to disable the real tolerance feature when we want to test the lowest layers such as |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
comment:10
Cc'ing you because this ticket is touching the same files that will need to be modified if you want to implement the option for #29935 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Dependencies: #29940 |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Ready for review |
Reviewer: Jonathan Kliem |
comment:21
This looks reasonable, it does not break the doctesting framework and the added doctests pass. |
comment:22
Thank you. |
We prepare the Sage doctesting module for running in environments where
sage.all
is not available (#29705).sage.doctest.parsing
:sage.doctest.forker
: ininit_sage
:and again in
DocTestTask._run
:... which is
This is exposed by the new
sage-runtest
option--environment
.For example, #29865 defines modules such as
sage.all__sage_objects
. We would invokesage -t --environment=sage.all__sage_objects
to test against this global environment.sage.interfaces
.Depends on #29940
CC: @tscrim @fchapoton @orlitzky @kliem @kiwifb
Component: refactoring
Author: Matthias Koeppe
Branch/Commit:
2a602df
Reviewer: Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/29922
The text was updated successfully, but these errors were encountered: