summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2020-05-23 20:03:24 +0200
committerStefan Behnel <stefan_ml@behnel.de>2020-05-23 20:03:24 +0200
commit564a3340f7e794fa64672220e7d6fe152a24ee1c (patch)
treeb1c1127cf6f8c52f57c6b40aa3c62286d2c88d4f
parentc52593020eac0261e9655b4e9834cdcac39197e2 (diff)
downloadcython-564a3340f7e794fa64672220e7d6fe152a24ee1c.tar.gz
Enable a working test.
-rw-r--r--tests/run/type_inference.pyx3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run/type_inference.pyx b/tests/run/type_inference.pyx
index d2bef6431..76a16c3b8 100644
--- a/tests/run/type_inference.pyx
+++ b/tests/run/type_inference.pyx
@@ -276,6 +276,9 @@ def cascade():
assert typeof(e) == "double"
def cascaded_assignment():
+ """
+ >>> cascaded_assignment()
+ """
a = b = c = d = 1.0
assert typeof(a) == "double"
assert typeof(b) == "double"