#11933: Fix qepcad doctests
-----------------------------------+----------------------------------------
Reporter: jdemeyer | Owner: jdemeyer
Type: defect | Status: positive_review
Priority: minor | Milestone: sage-4.8
Component: doctest | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: Jeroen Demeyer
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Changes (by kcrisman):
* status: needs_review => positive_review
Comment:
On sage.math, before:
{{{
sage -t -optional "devel/sage/sage/interfaces/qepcad.py"
**********************************************************************
File
"/mnt/usb1/scratch/kcrisman/sage-4.8.alpha3-sage.math.washington.edu-x86_64-Linux/devel/sage/sage/interfaces/qepcad.py",
line 95:
sage: F = qf.exactly_k(3, y, circle * ellipse == 0); F # optional -
qepcad
Expected:
(X3 y)[(y^2 + x^2 - 3) (y^2 + 2 x y + y + 3 x^2 - x - 7) = 0]
Got:
(X3 y)[(x^2 + y^2 - 3) (3 x^2 + 2 x y + y^2 - x + y - 7) = 0]
<snip>
Expected:
'approx-precision N\n\nApproximate algebraic numbers to N decimal
places.\n'
Got:
'approx-precision N\n\nApproximate algeraic numbers to N decimal
places.\n'
**********************************************************************
3 items had failures:
6 of 61 in __main__.example_0
1 of 6 in __main__.example_2
1 of 6 in __main__.example_25
***Test Failed*** 8 failures.
For whitespace errors, see the file
/home/kcrisman/.sage//tmp/qepcad_31669.py
[11.3 s]
----------------------------------------------------------------------
The following tests failed:
sage -t -optional "devel/sage/sage/interfaces/qepcad.py"
Total time for all tests: 11.4 seconds
}}}
After:
{{{
sage -t -optional "devel/sage/sage/interfaces/qepcad.py"
[11.6 s]
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 11.6 seconds
}}}
Great!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11933#comment:9>
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.