The new doctesting framework (#12415) on Solaris gives lots of warnings like

sage -t --long devel/sage/sage/plot/plot.py
**********************************************************************
File "devel/sage/sage/plot/plot.py", line 236, in sage.plot.plot
Failed example:
    (g1+g2).show(ticks=pi/6, tick_formatter=pi)  # show their sum,
nicely formatted
Expected nothing
Got:
    Warning: invalid value encountered in isinf
    Warning: invalid value encountered in isinf
    Warning: invalid value encountered in isinf
    [...]
    Warning: invalid value encountered in isinf
    Warning: invalid value encountered in isinf
    Warning: invalid value encountered in isinf

These warnings are actually harmless and are indirectly caused by the
fact that Python doesn't find the isinf() C library function. From
spkg/logs/python-2.7.3.p5.log:

[...]
checking whether isinf is declared... no
checking whether isnan is declared... yes
checking whether isfinite is declared... no
[...]

These functions are defined by C99 and Python's configure does find
isinf and isfinite when compiled with -D__C99FEATURES__. So we should
add a compiler flag to fix this. Needs review:
http://trac.sagemath.org/sage_trac/ticket/14265

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to