From 8231a24454c854ea22590fd74733d29e4274122d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Jason=20Dominus=20=28=E9=99=B6=E6=95=8F=E4=BF=AE=29?= Date: Mon, 20 May 2024 16:29:17 -0400 Subject: [PATCH] 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 --- Lib/test/test_unpack_ex.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Lib/test/test_unpack_ex.py b/Lib/test/test_unpack_ex.py index c201d08f61b..9e2d54bd3a8 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'