]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] Remove PEG-specific syntax error check in the old parser (GH-20717)
authorPablo Galindo <Pablogsal@gmail.com>
Mon, 8 Jun 2020 10:27:58 +0000 (11:27 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Jun 2020 10:27:58 +0000 (11:27 +0100)
Lib/test/test_syntax.py

index f41426a4e9d2dade6e6ca12a05007957c86b743a..c6f53eb3c88af3d2e4af97815a7bc847dc3bc824 100644 (file)
@@ -63,10 +63,6 @@ SyntaxError: cannot assign to __debug__
 Traceback (most recent call last):
 SyntaxError: cannot assign to function call
 
->>> yield = 1
-Traceback (most recent call last):
-SyntaxError: assignment to yield expression not possible
-
 >>> del f()
 Traceback (most recent call last):
 SyntaxError: cannot delete function call