src/sage/env.py: canonicalize paths in a test #15970
Annotations
3 errors
Test changed files (sage -t --new):
src/sage/env.py#L17
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.env[8]>", line 1, in <module>
out = check_output([sys.executable, "-c", cmd], env=env).decode().strip() # long time
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/sage/local/var/lib/sage/venv-python3.10/bin/python3', '-c', "from {module_name} import SAGE_ROOT, SAGE_LOCAL;from os.path import samefile;s1 = samefile(SAGE_ROOT, '/sage');s2 = samefile(SAGE_LOCAL, '/sage/local');print(s1 and s2);"]' returned non-zero exit status 1.
|
Test changed files (sage -t --new):
src/sage/env.py#L18
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 714, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.env[9]>", line 1, in <module>
out == "True" # long time
NameError: name 'out' is not defined
|
Test changed files (sage -t --new)
Process completed with exit code 1.
|
Loading