diff options
author | Mark Jason Dominus (陶敏修) <mjd@pobox.com> | 2024-05-20 20:29:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 20:29:17 (GMT) |
commit | 8231a24454c854ea22590fd74733d29e4274122d (patch) | |
tree | 86480801ff7f64ceecf5b54ca49a437750c5635b /Lib | |
parent | 7e57640c7ec6b7b5ce9b5eac465f6b771fd6ae69 (diff) | |
download | cpython-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.py | 6 |
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' |