Testcase for #480.
authorRobert Bradshaw <robertwb@math.washington.edu>
Sun, 24 Jan 2010 11:26:18 +0000 (03:26 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sun, 24 Jan 2010 11:26:18 +0000 (03:26 -0800)
tests/run/float_len_T480.pyx [new file with mode: 0644]

diff --git a/tests/run/float_len_T480.pyx b/tests/run/float_len_T480.pyx
new file mode 100644 (file)
index 0000000..7020570
--- /dev/null
@@ -0,0 +1,9 @@
+def f(x):
+    return x
+
+def float_len(x):
+    """
+    >>> float_len([1,2,3])
+    3.0
+    """
+    float(len(f(x)))