Skip to content

Commit 1543785

Browse files
committed
Add a check_src_roundtrip test for "a[1:2, *a]"
1 parent 677a326 commit 1543785

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
@@ -546,6 +546,7 @@ def test_slices(self):
546546
self.check_src_roundtrip("a[1]")
547547
self.check_src_roundtrip("a[1, 2]")
548548
self.check_src_roundtrip("a[1, *a]")
549+
self.check_src_roundtrip("a[1:2, *a]")
549550

550551
def test_lambda_parameters(self):
551552
self.check_src_roundtrip("lambda: something")

0 commit comments

Comments
 (0)