summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Jason Dominus (陶敏修) <mjd@pobox.com>2024-05-20 20:29:17 (GMT)
committerGitHub <noreply@github.com>2024-05-20 20:29:17 (GMT)
commit8231a24454c854ea22590fd74733d29e4274122d (patch)
tree86480801ff7f64ceecf5b54ca49a437750c5635b /Lib
parent7e57640c7ec6b7b5ce9b5eac465f6b771fd6ae69 (diff)
downloadcpython-8231a24454c854ea22590fd74733d29e4274122d.zip
cpython-8231a24454c854ea22590fd74733d29e4274122d.tar.gz
cpython-8231a24454c854ea22590fd74733d29e4274122d.tar.bz2
gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222)
Add test coverage for "starred kind" in _PyPegen_set_expr_context
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_unpack_ex.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_unpack_ex.py b/Lib/test/test_unpack_ex.py
index c201d08..9e2d54b 100644
--- a/Lib/test/test_unpack_ex.py
+++ b/Lib/test/test_unpack_ex.py
@@ -26,6 +26,12 @@ Unpack implied tuple
>>> a == [7, 8, 9]
True
+Unpack nested implied tuple
+
+ >>> [*[*a]] = [[7,8,9]]
+ >>> a == [[7,8,9]]
+ True
+
Unpack string... fun!
>>> a, *b = 'one'