From 2b33cc3a2509983c4fa7884fa2722bd2e5781e51 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Mon, 8 Jun 2020 11:27:58 +0100 Subject: [3.9] Remove PEG-specific syntax error check in the old parser (GH-20717) --- Lib/test/test_syntax.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index f41426a..c6f53eb 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 -- cgit v0.12