From: Mark Jason Dominus (陶敏修) Date: Mon, 20 May 2024 20:29:17 +0000 (-0400) Subject: gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) X-Git-Tag: v3.14.0a1~1849 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8231a24454c854ea22590fd74733d29e4274122d;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Lib/test/test_unpack_ex.py b/Lib/test/test_unpack_ex.py index c201d08f61b8..9e2d54bd3a8c 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'