Skip to content

Commit 727721a

Browse files
test list comp too
1 parent 78adfb8 commit 727721a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_future_stmt/test_future.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ def test_annotations(self):
350350
eq("{i: 0 for i in (1, 2, 3)}")
351351
eq("{i: j for i, j in ((1, 'a'), (2, 'b'), (3, 'c'))}")
352352
eq("{**x for x in ()}")
353+
eq("[*x for x in ()]")
353354
eq("[(x, y) for x, y in (a, b)]")
354355
eq("[(x,) for x, in (a,)]")
355356
eq("Python3 > Python2 > COBOL")

0 commit comments

Comments
 (0)