summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-11 11:53:00 +0000
committerDamien George <damien.p.george@gmail.com>2014-04-11 11:53:00 +0000
commit0288cf020ebfa9026bb8a30f5708b44bc8a82feb (patch)
treeecec2d5b3b4f25d87f611f6ec546cdaee8cf5fcc /tests/bytecode
parenta5c82a8187c16b9100cdc9615e945d01be768e89 (diff)
downloadmicropython-0288cf020ebfa9026bb8a30f5708b44bc8a82feb.tar.gz
micropython-0288cf020ebfa9026bb8a30f5708b44bc8a82feb.zip
py: Implement compiling of *-expr within parenthesis.
Diffstat (limited to 'tests/bytecode')
-rw-r--r--tests/bytecode/mp-tests/assign2.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/tests/bytecode/mp-tests/assign2.py b/tests/bytecode/mp-tests/assign2.py
index f55a3221d0..cb03593d2e 100644
--- a/tests/bytecode/mp-tests/assign2.py
+++ b/tests/bytecode/mp-tests/assign2.py
@@ -6,5 +6,16 @@ a, *b, c = d
[*a] = b
[*a,] = b
[a, *b] = c
-#[a, *b,] = c
-#[a, *b, c] = d
+[a, *b,] = c
+[a, *b, c] = d
+
+(*a,) = x
+(*a, b) = x
+(a, *b) = x
+(*a, b, c) = x
+(a, *b, c) = x
+(a, b, *c) = x
+(*a, b, c, d) = x
+(a, *b, c, d) = x
+(a, b, *c, d) = x
+(a, b, c, *d) = x