#7985: fix doctest in base.pyx
-------------------------+--------------------------------------------------
Reporter: wcauchois | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: graphics | Keywords:
Work_issues: | Author: Bill Cauchois
Upstream: N/A | Reviewer:
Merged: |
-------------------------+--------------------------------------------------
The following doctest from line 757 of base.pyx:
{{{
sage: G = tetrahedron(color='red') + tetrahedron(color='yellow') +
tetrahedron(color='red', opacity=0.5)
sage: G.texture_set()
set([Texture(texture..., red, ff0000), Texture(texture..., yellow,
ffff00), Texture(texture..., red, ff0000)])
}}}
will fail sometimes because the order of the elements of the set is not
fixed. The attached patch fixes this by outputting first the two red
textures, and then the yellow texture.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7985>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.