Skip to content

sage/interfaces/phc.py writes tmp files into cwd #4590

@sagetrac-mabshoff

Description

@sagetrac-mabshoff

From _output_from_command_list:

        EXAMPLES:
            sage: from sage.interfaces.phc import *  #optional
            sage: R2.<x,y> = PolynomialRing(QQ,2)    #optional
            sage: start_sys = [(x-1)^2+(y-1)-1, x^2+y^2-1]  #optional
            sage: a = phc._output_from_command_list(['phc -m','4','n','n','n'], start_sys)#optional
            sage: os.unlink(a)#optional

The Sage library might not be writable for the user who is running doctests, so the above doctest needs to be fixed.

Cheers,

Michael

Component: doctest coverage

Issue created by migration from https://trac.sagemath.org/ticket/4590

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions