Hi,

I was patching happily, when I was hit by this:

sage -t --long "devel/sage-main/sage/rings/arith.py"
**********************************************************************
File "/home/jpuydt/sage-4.8/devel/sage-main/sage/rings/arith.py", line 3061:
    sage: n(binomial(0.5r, 5),prec=53)
Expected:
    0.0273437500000000
Got:
doctest:1172: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
    0.02734375000000001


which is pretty strange since when I type the same command in sage itself, things work like a charm:

sage: n(binomial(0.5r, 5),prec=53)
0.0273437500000000

As you'll see, I get both a deprecation warning... and a different result!

What am I missing?

Snark on #sagemath

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to