Skip to content

Commit

Permalink
pythongh-94808: Add test coverage for "starred kind" in _PyPegen_set_…
Browse files Browse the repository at this point in the history
…expr_context (pythonGH-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
mjdominus authored and miss-islington committed May 20, 2024
1 parent b4462aa commit d664373
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 d664373

Please sign in to comment.