mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Re-enable commented-out test in test_generators.py (#104130)
This commit is contained in:
parent
69621d1b09
commit
472938316a
1 changed files with 4 additions and 5 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue