On Tuesday, March 31, 2020 at 4:18:08 PM UTC-4, Markus Wageringel wrote:
>
> Since this beta, I get the following permanent failure:
>
> sage -t --long src/sage/env.py
> **********************************************************************
> File "src/sage/env.py", line 15, in sage.env
> Failed example:
>     out == repr((SAGE_ROOT, SAGE_LOCAL))                                 
>        # long time
> Expected:
>     True
> Got:
>     False
>
> Here, SAGE_ROOT and SAGE_LOCAL look correct, but the `out` variable from 
> the preceding tests is
>
>     sage: env = {k:v for (k,v) in os.environ.items() if not k.startswith(
> "SAGE_")}
>     sage: from subprocess import check_output
>     sage: cmd = "from sage.all import SAGE_ROOT, SAGE_LOCAL; 
> print((SAGE_ROOT, SAGE_LOCAL))"
>     sage: out = check_output([sys.executable, "-c", cmd], env=env).decode
> ().strip()   # long time
>     sage: out
>     "('/home/math/sagebot/sage', '/amd/compute/sagebot/sage/local')"
>
> The left path is actually a symlink in my home directory to my sage root 
> directory on a different partition:
>
>     sage: SAGE_ROOT
>     '/amd/compute/sagebot/sage'
>
>
>
Looks like this new doctest (from https://trac.sagemath.org/ticket/29287) 
needs some os.path.abspath in it. Please open a ticket for this.
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/76ce1503-fead-4e94-a1b9-073006645f26%40googlegroups.com.

Reply via email to