Re-enable commented-out test in test_generators.py (#104130)

This commit is contained in:
ymki4360 2023-05-07 13:44:46 +09:00 committed by GitHub
parent 69621d1b09
commit 472938316a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -2141,11 +2141,10 @@ Traceback (most recent call last):
...
SyntaxError: 'yield' outside function
# Pegen does not produce this error message yet
# >>> def f(): x = yield = y
# Traceback (most recent call last):
# ...
# SyntaxError: assignment to yield expression not possible
>>> def f(): x = yield = y
Traceback (most recent call last):
...
SyntaxError: assignment to yield expression not possible
>>> def f(): (yield bar) = y
Traceback (most recent call last):