Hi!

On 5 Mrz., 20:33, Minh Nguyen <nguyenmi...@gmail.com> wrote:
>
> > I should get an "All tests passed!" result for a successful install --
> > whether or not I have write access in the install tree.  For example,
> > the builder.py doctests might write to temporary files in my ~/.sage
> > directory (where I have write access) and then compare their contents
> > to the desired result.

IIRC there was some issue of this type previously. In some cases one
can't avoid to write data in a doc test. But then, there are two
things to worry about:
(1) The person who is requesting the test must have write permission
-- otherwise the test fails
(2) The test must not detroy the person's own data.

I think the conclusion in this other thread (that I can't find, I am
afraid) was: If a doc test writes data, then it MUST use a temporary
file, that is automatically deleted as soon as the sage (test) session
is left. temporary file names can be create with tmp_filename().

So, if Ryan found a doc test where a permanent file is written then
it's a bug IMO.

Best regards,
Simon

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to