summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-12-03 17:59:49 +0000
committerDamien George <damien.p.george@gmail.com>2015-12-03 17:59:49 +0000
commit7a99639cffb4397fa964268433d23b9ef0707892 (patch)
treee5c3d4e644d41179474173d0ebb1d64062a49349 /tests
parentb4eccfd02dc8d7c39a6546bc7b051676140d341e (diff)
downloadmicropython-7a99639cffb4397fa964268433d23b9ef0707892.tar.gz
micropython-7a99639cffb4397fa964268433d23b9ef0707892.zip
py: Fix function calls that have positional and a star-arg-with-iterator.
Addresses issue #1678.
Diffstat (limited to 'tests')
-rw-r--r--tests/basics/fun_callstar.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/fun_callstar.py b/tests/basics/fun_callstar.py
index 255563b26b..2275d3d4fc 100644
--- a/tests/basics/fun_callstar.py
+++ b/tests/basics/fun_callstar.py
@@ -14,6 +14,9 @@ foo(1, 2, *[100])
# Iterator
foo(*range(3))
+# pos then iterator
+foo(1, *range(2, 4))
+
# method calls with *pos
class A: