From: Robert Bradshaw Date: Sun, 24 Jan 2010 11:26:18 +0000 (-0800) Subject: Testcase for #480. X-Git-Tag: 0.12.1~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf325529acdaef6ad550c8c8690d745e18f0a585;p=cython.git Testcase for #480. --- diff --git a/tests/run/float_len_T480.pyx b/tests/run/float_len_T480.pyx new file mode 100644 index 00000000..7020570e --- /dev/null +++ b/tests/run/float_len_T480.pyx @@ -0,0 +1,9 @@ +def f(x): + return x + +def float_len(x): + """ + >>> float_len([1,2,3]) + 3.0 + """ + float(len(f(x)))