Skip to content

Commit

Permalink
[3.12] 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-119264)

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>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 16, 2024
1 parent ffde4cd commit 3f5d18d
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 3f5d18d

Please sign in to comment.