summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-07 16:11:20 (GMT)
committerGitHub <noreply@github.com>2024-06-07 16:11:20 (GMT)
commit18359f202de00d7fabf27605528c77a619b7b13d (patch)
tree09dc840ffb86ae23e07b5f3bd99381e6c086eb56
parent8368b67d1b5db48807010936d9550e762fc8630d (diff)
downloadcpython-18359f202de00d7fabf27605528c77a619b7b13d.zip
cpython-18359f202de00d7fabf27605528c77a619b7b13d.tar.gz
cpython-18359f202de00d7fabf27605528c77a619b7b13d.tar.bz2
[3.13] gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) (GH-119263)
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 (cherry picked from commit 8231a24454c854ea22590fd74733d29e4274122d) Co-authored-by: Mark Jason Dominus (陶敏修) <mjd@pobox.com>
-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'