Skip to content

Commit 2b33cc3

Browse files
authored
[3.9] Remove PEG-specific syntax error check in the old parser (GH-20717)
1 parent 8df4f39 commit 2b33cc3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/test/test_syntax.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@
6363
Traceback (most recent call last):
6464
SyntaxError: cannot assign to function call
6565
66-
>>> yield = 1
67-
Traceback (most recent call last):
68-
SyntaxError: assignment to yield expression not possible
69-
7066
>>> del f()
7167
Traceback (most recent call last):
7268
SyntaxError: cannot delete function call

0 commit comments

Comments
 (0)