Volker Braun wrote: > a1b60f2 Updated Sage version to 6.10 $ ./sage -t src/sage/typeset/ascii_art.py too many failed tests, not using stored timings Running doctests with ID 2015-12-20-21-14-37-9531a8af. Git branch: develop Using --optional=mpir,python2,sage,scons Doctesting 1 file. sage -t src/sage/typeset/ascii_art.py ********************************************************************** File "src/sage/typeset/ascii_art.py", line 44, in sage.typeset.ascii_art Failed example: shell.run_cell('sum(factorial(i)*x^i, i, 0, 10)') Expected: 10 9 8 7 6 5 4 3 3628800*x + 362880*x + 40320*x + 5040*x + 720*x + 120*x + 24*x + 6*x <BLANKLINE> 2 + 2*x + x + 1 Got: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-1-526f04570f52> in <module>() ----> 1 sum(factorial(i)*x**i, i, Integer(0), Integer(10)) <BLANKLINE> /home/marc/co/sage/src/sage/rings/polynomial/polynomial_rational_flint.pyx in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.__pow__ (build/cythonized/sage/rings/polynomial/polynomial_rational_flint.cpp:11040)() 1164 cdef Polynomial_rational_flint res 1165 -> 1166 cdef long n = pyobject_to_long(exp) 1167 1168 if n < 0: <BLANKLINE> /home/marc/co/sage/local/lib/python2.7/site-packages/sage/misc/long.pxd in sage.misc.long.pyobject_to_long (build/cythonized/sage/rings/polynomial/polynomial_rational_flint.cpp:20609)() 49 return PyLong_AsLong(x) 50 ---> 51 return PyNumber_Index(x) <BLANKLINE> /home/marc/co/sage/src/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression.__index__ (build/cythonized/sage/symbolic/expression.cpp:29994)() 5183 [0, 1, 2, 3, 4] 5184 """ -> 5185 return int(self._integer_()) 5186 5187 def iterator(self): <BLANKLINE> /home/marc/co/sage/src/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression._integer_ (build/cythonized/sage/symbolic/expression.cpp:8015)() 1061 n = self.pyobject() 1062 except TypeError: -> 1063 raise TypeError("unable to convert %r to an integer" % self) 1064 if isinstance(n, sage.rings.integer.Integer): 1065 return n <BLANKLINE> TypeError: unable to convert i to an integer ********************************************************************** File "src/sage/typeset/ascii_art.py", line 50, in sage.typeset.ascii_art Failed example: shell.run_cell('3/(7*x)') Expected: 3 --- 7*x Got: 3/(7*x) ********************************************************************** 1 item had failures: 2 of 15 in sage.typeset.ascii_art [23 tests, 2 failures, 1.46 s] ---------------------------------------------------------------------- sage -t src/sage/typeset/ascii_art.py # 2 doctests failed ----------------------------------------------------------------------
-- Marc -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.