STINNER Victor <vstin...@python.org> added the comment:

https://buildbot.python.org/all/#builders/765/builds/51

The new test fails with the old parser:

**********************************************************************
File 
"/buildbot/buildarea/3.9.pablogsal-arch-x86_64.oldparser/build/Lib/test/test_syntax.py",
 line 66, in test.test_syntax
Failed example:
    yield = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: assignment to yield expression not possible
Got:
    Traceback (most recent call last):
      File 
"/buildbot/buildarea/3.9.pablogsal-arch-x86_64.oldparser/build/Lib/doctest.py", 
line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest test.test_syntax[10]>", line 1
        yield = 1
              ^
    SyntaxError: invalid syntax
**********************************************************************
1 items had failures:
   1 of 108 in test.test_syntax

----------
nosy: +vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to