Skip to content

Commit 37d5b5c

Browse files
authored
Update Lib/test/test_syntax.py
1 parent b2194ac commit 37d5b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_syntax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@
15151515
SyntaxError: name capture 'x' makes remaining patterns unreachable
15161516
15171517
>>> match 1:
1518-
... case 1 | x: ...
1518+
... case 1 | x: pass
15191519
Traceback (most recent call last):
15201520
SyntaxError: alternative patterns bind different names (first pattern binds no names, pattern 2 binds ['x'])
15211521

0 commit comments

Comments
 (0)