From: Pablo Galindo Date: Mon, 8 Jun 2020 10:27:58 +0000 (+0100) Subject: [3.9] Remove PEG-specific syntax error check in the old parser (GH-20717) X-Git-Tag: v3.9.0b2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b33cc3a2509983c4fa7884fa2722bd2e5781e51;p=thirdparty%2FPython%2Fcpython.git [3.9] Remove PEG-specific syntax error check in the old parser (GH-20717) --- diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index f41426a4e9d2..c6f53eb3c88a 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py @@ -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