summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/unpack1.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-10-11 12:30:32 +1100
committerDamien George <damien.p.george@gmail.com>2016-10-11 12:30:32 +1100
commit5e22afce41de8c87071d8fc149a6ba3cd8762819 (patch)
treecc8960bfe8bb7949ad5dd6a099ae3e390cb58359 /tests/basics/unpack1.py
parente49153fb98ade48395b80271093bd763e771b3da (diff)
downloadmicropython-5e22afce41de8c87071d8fc149a6ba3cd8762819.tar.gz
micropython-5e22afce41de8c87071d8fc149a6ba3cd8762819.zip
tests: Improve test coverage of py/compile.c.
Diffstat (limited to 'tests/basics/unpack1.py')
-rw-r--r--tests/basics/unpack1.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basics/unpack1.py b/tests/basics/unpack1.py
index 10e01dea06..0e8ec592c9 100644
--- a/tests/basics/unpack1.py
+++ b/tests/basics/unpack1.py
@@ -12,6 +12,7 @@ a, b, c = range(3); print(a, b, c)
(a,) = range(1); print(a)
(a, b) = range(2); print(a, b)
(a, b, c) = range(3); print(a, b, c)
+(a, (b, c)) = [-1, range(2)]; print(a, b, c)
# lists