Hi Georg, On Thu, Jul 30, 2009 at 9:35 PM, gsw<georgswe...@googlemail.com> wrote:
<SNIP> > sage -t -long devel/sage/sage/modules/vector_real_double_dense.pyx > ********************************************************************** > File "/home/mvngu/usr/bin/sage/devel/sage-main/sage/modules/ > vector_real_double_dense.pyx", > line 72: > sage: v.stats_skew() > Expected: > 0.0 > Got: > doctest:106: SyntaxWarning: assertion is always true, perhaps > remove parentheses? > 0.0 > ********************************************************************** > 1 items had failures: > 1 of 4 in __main__.example_2 > ***Test Failed*** 1 failures. > > might be relatively easy to hunt down and fix. Unfortunately, I don't > see this failure, since I use Mac OS X 10.4 only. (Does it occur on > sage.math?) That doctest sometimes fails when I doctest everything under SAGE_ROOT/devel/sage-main using sage.math. The following commands on lines 71 and 72 of devel/sage/sage/modules/vector_real_double_dense.pyx are what cause this intermittent failure: sage: v = vector(RDF, range(9)) sage: v.stats_skew() 0.0 If you enter these two commands at the Sage prompt, you get just "0.0" and no report of syntax warning. -- Regards Minh Van Nguyen --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---