https://github.com/python/cpython/commit/3f5d18d351b7a6adea48f66f0d1248b5de3d150c
commit: 3f5d18d351b7a6adea48f66f0d1248b5de3d150c
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: encukou <[email protected]>
date: 2024-09-16T10:43:31+02:00
summary:

[3.12] gh-94808: Add test coverage for "starred kind" in 
_PyPegen_set_expr_context (GH-119222) (GH-119264)

Add test coverage for "starred kind" in _PyPegen_set_expr_context
(cherry picked from commit 8231a24454c854ea22590fd74733d29e4274122d)

Co-authored-by: Mark Jason Dominus (陶敏修) <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>

files:
M Lib/test/test_unpack_ex.py

diff --git a/Lib/test/test_unpack_ex.py b/Lib/test/test_unpack_ex.py
index c201d08f61b8cd..9e2d54bd3a8c4e 100644
--- a/Lib/test/test_unpack_ex.py
+++ b/Lib/test/test_unpack_ex.py
@@ -26,6 +26,12 @@
     >>> a == [7, 8, 9]
     True
 
+Unpack nested implied tuple
+
+    >>> [*[*a]] = [[7,8,9]]
+    >>> a == [[7,8,9]]
+    True
+
 Unpack string... fun!
 
     >>> a, *b = 'one'

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to