#5631: [with patch, needs work] improve doctest coverage for
schemes/generic/affine_space.py
--------------------------------+-------------------------------------------
Reporter: AlexGhitza | Owner: AlexGhitza
Type: enhancement | Status: assigned
Priority: minor | Milestone: sage-3.4.1
Component: algebraic geometry | Keywords: doctest affine space
--------------------------------+-------------------------------------------
Comment(by AlexGhitza):
I had two problems with lines 415 and 416: (1) the doctest that I wrote
wasn't working and (2) they aren't there in the corresponding method in
{{{projective_space.py}}}. If you look at the docstring that I wrote for
{{{subscheme_complement}}} (and the doctest), you will notice that X and Y
are already subschemes of self (so self is involved in a slightly hidden
way).
I guess that one could relax the syntax so that polynomial lists can be
passed to {{{subscheme_complement}}}; in the example of the doctest this
would be
{{{
sage: A.<x, y, z> = AffineSpace(3, ZZ)
sage: A.subscheme_complement([x+y-z], [x-y+z])
}}}
Is this what you have in mind?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5631#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---