From 5314219f182e8a303e3fa68e2bacca978cb08002 Mon Sep 17 00:00:00 2001 From: Rami Ali Date: Tue, 17 Jan 2017 16:03:30 +1100 Subject: tests/basics: Improve runtime.c test coverage. --- tests/basics/fun_callstar.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/basics/fun_callstar.py') diff --git a/tests/basics/fun_callstar.py b/tests/basics/fun_callstar.py index 2275d3d4f..a27a288a3 100644 --- a/tests/basics/fun_callstar.py +++ b/tests/basics/fun_callstar.py @@ -17,6 +17,11 @@ foo(*range(3)) # pos then iterator foo(1, *range(2, 4)) +# an iterator with many elements +def foo(*rest): + print(rest) +foo(*range(10)) + # method calls with *pos class A: -- cgit v1.2.3