Skip to content

Commit

Permalink
[3.13] gh-94808: Add test coverage for "starred kind" in _PyPegen_set…
Browse files Browse the repository at this point in the history
…_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 8231a24)

Co-authored-by: Mark Jason Dominus (陶敏修) <mjd@pobox.com>
  • Loading branch information
miss-islington and mjdominus authored Jun 7, 2024
1 parent 8368b67 commit 18359f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Lib/test/test_unpack_ex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 18359f2

Please sign in to comment.