I believe the trace.py issue is

https://trac.sagemath.org/ticket/21258

On Wednesday, November 30, 2016 at 1:23:37 AM UTC-6, Sébastien Labbé wrote:
>
> On OSX 10.10.2, I get two errors with make ptestlong (only the one with 
> singular.py reappears on a rerun) :
>
> sage -t --long --warn-long 263.5 src/sage/misc/trace.py
> **********************************************************************
> File "src/sage/misc/trace.py", line 66, in sage.misc.trace.trace
> Failed example:
>     print(s.before[s.before.find('--'):])
> Expected:
>     --...
>     ipdb> c
>     2 * 5
> Got:
>     --Return--
>     None
>     > 
> <CSI-0;32m>/Users/slabbe/Applications/sage-git/local/lib/python2.7/site-packages/prompt_toolkit/terminal/vt
> **********************************************************************
> 1 item had failures:
>    1 of  10 in sage.misc.trace.trace
>     [9 tests, 1 failure, 10.62 s]
>
>
> sage -t --long --warn-long 263.5 src/sage/interfaces/singular.py
> **********************************************************************
> File "src/sage/interfaces/singular.py", line 514, in 
> sage.interfaces.singular.Singular._send_interrupt
> Failed example:
>     2*a
> Exception raised:
>     Traceback (most recent call last):
>       File 
> "/Users/slabbe/Applications/sage-git/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>  
> line 498, in _run
>         self.compile_and_execute(example, compiler, test.globs)
>       File 
> "/Users/slabbe/Applications/sage-git/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>  
> line 861, in compile_and_execute
>         exec(compiled, globs)
>       File "<doctest 
> sage.interfaces.singular.Singular._send_interrupt[3]>", line 1, in <module>
>         Integer(2)*a
>       File "sage/rings/integer.pyx", line 1785, in 
> sage.rings.integer.Integer.__mul__ 
> (build/cythonized/sage/rings/integer.c:12539)
>         return coercion_model.bin_op(left, right, operator.mul)
>       File "sage/structure/coerce.pyx", line 1059, in 
> sage.structure.coerce.CoercionModel_cache_maps.bin_op 
> (build/cythonized/sage/structure/coerce.c:9389)
>         raise
>       File "sage/structure/coerce.pyx", line 1055, in 
> sage.structure.coerce.CoercionModel_cache_maps.bin_op 
> (build/cythonized/sage/structure/coerce.c:9327)
>         return PyObject_CallObject(op, xy)
>       File "sage/structure/element.pyx", line 1513, in 
> sage.structure.element.Element.__mul__ 
> (build/cythonized/sage/structure/element.c:12399)
>         return (<Element>left)._mul_(right)
>       File "sage/structure/element.pyx", line 1554, in 
> sage.structure.element.Element._mul_ 
> (build/cythonized/sage/structure/element.c:12733)
>         return python_op(other)
>       File 
> "/Users/slabbe/Applications/sage-git/local/lib/python2.7/site-packages/sage/interfaces/interface.py",
>  
> line 1388, in _mul_
>         return self._operation('*', right)
>       File 
> "/Users/slabbe/Applications/sage-git/local/lib/python2.7/site-packages/sage/interfaces/interface.py",
>  
> line 1267, in _operation
>         raise TypeError(msg)
>     TypeError: Singular error:
>        ? `sage126` is not defined
>        ? error occurred in or before STDIN line 12: `def sage135=sage127 * 
> sage126;`
> **********************************************************************
> 1 item had failures:
>    1 of   5 in sage.interfaces.singular.Singular._send_interrupt
>     [390 tests, 1 failure, 9.81 s]
>

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

Reply via email to