Status: Started
Owner: [email protected]
Labels: Type-Defect Priority-Medium Testing EasyToFix

New issue 2318 by [email protected]: doctest failed after poly12 added
http://code.google.com/p/sympy/issues/detail?id=2318

There is some doctests failed in master:


File "doc/src/gotchas.txt", line 491, in gotchas.txt
Failed example:
    roots((x - 5)**2*(x + 3),x)
Expected:
    {-3: 1, 5: 2}
Got:
    {5: 2, -3: 1}
**********************************************************************
1 items had failures:
   1 of 104 in gotchas.txt
***Test Failed*** 1 failures.
============================== txt doctests start ==============================

my/doc/src/gotchas.txt [104] [1]
**********************************************************************
File "doc/src/modules/evalf.txt", line 49, in evalf.txt
Failed example:
    float(pi)
Expected:
    3.14159265359
Got:
    3.1415926535897931
**********************************************************************
File "doc/src/modules/evalf.txt", line 51, in evalf.txt
Failed example:
    complex(pi+E*I)
Expected:
    (3.14159265359+2.71828182846j)
Got:
    (3.1415926535897931+2.7182818284590451j)
**********************************************************************
File "doc/src/modules/evalf.txt", line 128, in evalf.txt
Failed example:
    float(GoldenRatio**1000/sqrt(5))
Expected:
    4.34665576869e+208
Got:
    4.3466557686937455e+208
**********************************************************************
File "doc/src/modules/evalf.txt", line 130, in evalf.txt
Failed example:
    float(fibonacci(1000))
Expected:
    4.34665576869e+208
Got:
    4.3466557686937455e+208
**********************************************************************
1 items had failures:
   4 of  74 in evalf.txt
***Test Failed*** 4 failures.
**********************************************************************
File "doc/src/modules/printing.txt", line 196, in printing.txt
Failed example:
    fcode(1 - gamma(x)**2, human=False)
Expected:
    (set(), set([gamma(x)]), '      1 - gamma(x)**2')
Got:
    (set([]), set([gamma(x)]), '      1 - gamma(x)**2')
**********************************************************************
File "doc/src/modules/printing.txt", line 198, in printing.txt
Failed example:
    fcode(1 - sin(x)**2, human=False)
Expected:
    (set(), set(), '      1 - sin(x)**2')
Got:
    (set([]), set([]), '      1 - sin(x)**2')
**********************************************************************
File "doc/src/modules/printing.txt", line 200, in printing.txt
Failed example:
    fcode(x - pi**2, human=False)
Expected:
    (set([(pi, '3.14159265358979d0')]), set(), '      x - pi**2')
Got:
    (set([(pi, '3.14159265358979d0')]), set([]), '      x - pi**2')
**********************************************************************
1 items had failures:
   3 of  21 in printing.txt
***Test Failed*** 3 failures.
**********************************************************************
File "doc/src/tutorial.txt", line 685, in tutorial.txt
Failed example:
    (x**2).match(p*x**q)
Expected:
    {p_: 1, q_: 2}
Got:
    {q_: 2, p_: 1}
**********************************************************************
1 items had failures:
   1 of 122 in tutorial.txt
***Test Failed*** 1 failures.
my/doc/src/tutorial.txt [122] [1]

DO *NOT* COMMIT!


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en.

Reply via email to