Opened 14 years ago

Last modified 10 years ago

#5155 closed defect

Sage 3.3.a3: fix doctests that want write access to $SAGE_LOCAL — at Initial Version

Reported by: mabshoff Owned by: mabshoff
Priority: critical Milestone: sage-5.7
Component: scripts Keywords:
Cc: lftabera, leif Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

All doctests in Sage should pass when they are run as a user that does not own the Sage tree. To do that set SAGE_TESTDIR to some place writable, i.e.

export SAGE_TESTDIR=/scratch/mabshoff/tmp

and run the doctests on a Sage install that isn't owned by the user. When doing so the following doctests fail:

	sage -t -long devel/sage/sage/matrix/matrix2.pyx # 1 doctests failed
	sage -t -long devel/doc/tut/tut.tex # 5 doctests failed
	sage -t -long devel/sage/sage/interfaces/qepcad.py # 2 doctests failed
	sage -t -long devel/sage/sage/plot/plot.py # 6 doctests failed
	sage -t -long devel/sage/sage/databases/database.py # 1 doctests failed
	sage -t -long devel/sage/sage/calculus/calculus.py # 1 doctests failed
	sage -t -long devel/sage/sage/misc/package.py # 1 doctests failed
	sage -t -long devel/sage/sage/gsl/ode.pyx # 4 doctests failed
	sage -t -long devel/sage/sage/server/support.py # 1 doctests failed
	sage -t -long devel/sage/sage/server/notebook/notebook.py # 1 doctests failed
	sage -t -long devel/sage/sage/server/notebook/twist.py # 8 doctests failed
	sage -t -long devel/sage/sage/structure/sage_object.pyx # 6 doctests failed

This ticket might need to be split up since it covers a rather large number of doctest failures.

Cheers,

Michael

Change History (0)

Note: See TracTickets for help on using tickets.