Skip to content

Commit 316ca30

Browse files
Add Python test too
1 parent e3d8248 commit 316ca30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_unparse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ def test_dict_comprehension(self):
406406
def test_dict_comprehension_unpacking(self):
407407
self.check_ast_roundtrip("{**x for x in ()}")
408408
self.check_ast_roundtrip("{**x for x in range(10)}")
409+
self.check_ast_roundtrip("[*x for x in ()]")
409410

410411
def test_class_decorators(self):
411412
self.check_ast_roundtrip(class_decorator)

0 commit comments

Comments
 (0)