From bd1964ac80aba599d162201e1dc439ec1bee7d4d Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 9 Dec 2009 13:20:13 +0100 Subject: [PATCH] test case for ticket #466 --- tests/bugs.txt | 1 + tests/run/extended_unpacking_T466.pyx | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/run/extended_unpacking_T466.pyx diff --git a/tests/bugs.txt b/tests/bugs.txt index 55e7e2c3..29aa0373 100644 --- a/tests/bugs.txt +++ b/tests/bugs.txt @@ -7,3 +7,4 @@ numpy_ValueError_T172 unsignedbehaviour_T184 missing_baseclass_in_predecl_T262 cfunc_call_tuple_args_T408 +extended_unpacking_T466 diff --git a/tests/run/extended_unpacking_T466.pyx b/tests/run/extended_unpacking_T466.pyx new file mode 100644 index 00000000..6c0d3f74 --- /dev/null +++ b/tests/run/extended_unpacking_T466.pyx @@ -0,0 +1,10 @@ +# extension to T409 + +def simple_parallel_typed(): + """ + >>> simple_parallel_typed() + (1, 2, [1, 2], [1, 2]) + """ + cdef int a,c + a, c = d = e = [1,2] + return a, c, d, e -- 2.26.2