Updates:
        Labels: -NeedsReview

Comment #27 on issue 2041 by Vinzent.Steinberg: Doctest failures in Python 2.6.6
http://code.google.com/p/sympy/issues/detail?id=2041

Your patch indeed fixes the problem occuring in Python 2.5.

I get other (probably 64-bit related) failures however:


**********************************************************************
File "/home/one/src/sympy/doc/src/modules/polys/wester.txt", line 206, in wester.txt
Failed example:
    factor(f, gaussian=True)
Expected:
      ⎛    3⋅ⅈ⎞ ⎛    3⋅ⅈ⎞
    4⋅⎜x - ───⎟⋅⎜x + ───⎟⋅(x - 4⋅ⅈ + 1)⋅(x + 4⋅ⅈ + 1)
      ⎝     2 ⎠ ⎝     2 ⎠
Got:
      ⎛    3⋅ⅈ⎞ ⎛    3⋅ⅈ⎞
    4⋅⎜x + ───⎟⋅⎜x - ───⎟⋅(x - 4⋅ⅈ + 1)⋅(x + 4⋅ⅈ + 1)
      ⎝     2 ⎠ ⎝     2 ⎠
**********************************************************************
File "/home/one/src/sympy/doc/src/modules/polys/wester.txt", line 216, in wester.txt
Failed example:
    factor(f, extension=I)
Expected:
      ⎛    3⋅ⅈ⎞ ⎛    3⋅ⅈ⎞
    4⋅⎜x - ───⎟⋅⎜x + ───⎟⋅(x - 4⋅ⅈ + 1)⋅(x + 4⋅ⅈ + 1)
      ⎝     2 ⎠ ⎝     2 ⎠
Got:
      ⎛    3⋅ⅈ⎞ ⎛    3⋅ⅈ⎞
    4⋅⎜x + ───⎟⋅⎜x - ───⎟⋅(x - 4⋅ⅈ + 1)⋅(x + 4⋅ⅈ + 1)
      ⎝     2 ⎠ ⎝     2 ⎠
**********************************************************************
File "/home/one/src/sympy/doc/src/modules/polys/wester.txt", line 416, in wester.txt
Failed example:
    factor(x**3 + y**3, extension=sqrt(-3))
Expected:
            ⎛      ⎛    ⎽⎽⎽    ⎞⎞ ⎛      ⎛      ⎽⎽⎽    ⎞⎞
            ⎜      ⎜ⅈ⋅╲╱ 3    1⎟⎟ ⎜      ⎜  ⅈ⋅╲╱ 3    1⎟⎟
    (x + y)⋅⎜x + y⋅⎜─────── - ─⎟⎟⋅⎜x + y⋅⎜- ─────── - ─⎟⎟
            ⎝      ⎝   2      2⎠⎠ ⎝      ⎝     2      2⎠⎠
Got:
    ⎛      ⎛      ⎽⎽⎽    ⎞⎞         ⎛      ⎛    ⎽⎽⎽    ⎞⎞
    ⎜      ⎜  ⅈ⋅╲╱ 3    1⎟⎟         ⎜      ⎜ⅈ⋅╲╱ 3    1⎟⎟
    ⎜x + y⋅⎜- ─────── - ─⎟⎟⋅(x + y)⋅⎜x + y⋅⎜─────── - ─⎟⎟
    ⎝      ⎝     2      2⎠⎠         ⎝      ⎝   2      2⎠⎠
**********************************************************************

But I think this is orthogonal to your patch. +1

--
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