#9066: Improve documentation in shapes2.py
-----------------------------------+----------------------------------------
Reporter: kcrisman | Owner: mvngu
Type: enhancement | Status: positive_review
Priority: minor | Milestone: sage-4.5
Component: documentation | Keywords:
Author: Karl-Dieter Crisman | Upstream: N/A
Reviewer: Minh Van Nguyen | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Comment(by davidloeffler):
This patch and #9088 seem to conflict -- if I apply both, I get a doctest
failure:
{{{
sage -t "devel/sage-reviewing/sage/plot/plot3d/shapes2.py"
**********************************************************************
File "/storage/masiao/sage-4.5.alpha1/devel/sage-
reviewing/sage/plot/plot3d/shapes2.py", line 700:
sage: P.tachyon_repr(P.default_render_params())
Expected:
'Sphere center 1.0 2.0 3.0 Rad 0.015 texture84'
Got:
'Sphere center 1.0 2.0 3.0 Rad 0.015 texture85'
**********************************************************************
File "/storage/masiao/sage-4.5.alpha1/devel/sage-
reviewing/sage/plot/plot3d/shapes2.py", line 717:
sage: P.obj_repr(P.default_render_params())[0][0:2]
Expected:
['g obj_1', 'usemtl texture86']
Got:
['g obj_1', 'usemtl texture87']
**********************************************************************
File "/storage/masiao/sage-4.5.alpha1/devel/sage-
reviewing/sage/plot/plot3d/shapes2.py", line 825:
sage: L.tachyon_repr(L.default_render_params())[0]
Expected:
'FCylinder base 1.0 0.0 0.0 apex 0.999950000417 0.00999983333417
0.0001 rad 0.005 texture126'
Got:
'FCylinder base 1.0 0.0 0.0 apex 0.999950000417 0.00999983333417
0.0001 rad 0.005 texture127'
**********************************************************************
3 items had failures:
1 of 4 in __main__.example_13
1 of 4 in __main__.example_14
1 of 4 in __main__.example_19
***Test Failed*** 3 failures.
}}}
This doesn't come up if I apply either one of the patches on its own.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9066#comment:5>
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.