Comment #10 on issue 1587 by mattpap: Polynomials docs
http://code.google.com/p/sympy/issues/detail?id=1587

In my Python 2.5 (2.5.4) I get:

doc/src/gotchas.txt [104] [OK] doc/src/modules/assumptions.txt [80] [OK] doc/src/modules/concrete.txt [22] [OK] doc/src/modules/evalf.txt [74] [OK] doc/src/modules/functions.txt [25] [OK] doc/src/modules/geometry.txt [46] [OK]
*** DocTestRunner.merge: 'index.txt' in both testers; summing outcomes.
doc/src/modules/integrals.txt [8] [OK] doc/src/modules/logic.txt [15] [OK] doc/src/modules/matrices.txt [96] [OK] doc/src/modules/polys/basics.txt [55] [OK]
*** DocTestRunner.merge: 'index.txt' in both testers; summing outcomes.
doc/src/modules/polys/wester.txt [60] [OK] doc/src/modules/printing.txt [21] [OK] doc/src/modules/rewriting.txt [8] [OK] doc/src/modules/series.txt [3] [OK] doc/src/modules/solvers/solvers.txt [4] [OK]
**********************************************************************
File "/home/matt/repo/git/sympy/doc/src/modules/statistics.txt", line 59, in statistics.txt
Failed example:
    N.cdf(x)
Expected:
             /  ___        \
             |\/ 2 *(1 - x)|
          erf|-------------|
             \      2      /
    1/2 - ------------------
                  2
Got:
             /  ___         \
             |\/ 2 *(-1 + x)|
          erf|--------------|
             \      2       /
    1/2 + -------------------
                   2
**********************************************************************
1 items had failures:
   1 of  26 in statistics.txt
***Test Failed*** 1 failures.
doc/src/modules/statistics.txt [26] [1] doc/src/modules/utilities/autowrap.txt [8] [OK] doc/src/modules/utilities/codegen.txt [1] [OK]
*** DocTestRunner.merge: 'index.txt' in both testers; summing outcomes.
doc/src/modules/utilities/iterables.txt [5] [OK]
doc/src/tutorial.txt [122]

(so there is one unrelated failure).

Can you make sure that doctest runner sets encoding to 'utf-8'? I was getting this error before setting encoding in testfile().

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