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
  • Loading branch information
mjdominus authored and estyxx committed Jul 17, 2024
1 parent b03e63c commit 067e2ea
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 067e2ea

Please sign in to comment.