summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-06-08 10:27:58 (GMT)
committerGitHub <noreply@github.com>2020-06-08 10:27:58 (GMT)
commit2b33cc3a2509983c4fa7884fa2722bd2e5781e51 (patch)
tree512fbc03c9f7beddb3437c87e21a1672721034fc
parent8df4f3942faf05790efeaf62a8f493aabd181d3f (diff)
downloadcpython-2b33cc3a2509983c4fa7884fa2722bd2e5781e51.zip
cpython-2b33cc3a2509983c4fa7884fa2722bd2e5781e51.tar.gz
cpython-2b33cc3a2509983c4fa7884fa2722bd2e5781e51.tar.bz2
[3.9] Remove PEG-specific syntax error check in the old parser (GH-20717)
-rw-r--r--Lib/test/test_syntax.py4
1 files changed, 0 insertions, 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