From 40175f2d0855a2326009cb587e5454fc28997c31 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 11 Jul 2008 16:52:31 +0200 Subject: [PATCH] test case for broken parallel assignment --- tests/run/returnparassign.pyx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/run/returnparassign.pyx diff --git a/tests/run/returnparassign.pyx b/tests/run/returnparassign.pyx new file mode 100644 index 00000000..8d4fffd3 --- /dev/null +++ b/tests/run/returnparassign.pyx @@ -0,0 +1,8 @@ +__doc__ = u""" +>>> test() +5 +""" + +def test(): + a = b = c = 5 + return a -- 2.26.2