This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients Mark.Shannon, gvanrossum, kayhayen, levkivskyi, serhiy.storchaka
Date 2018-07-17.15:53:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531842790.42.0.56676864532.issue34136@psf.upfronthosting.co.za>
In-reply-to
Content
The test fails on CPython master, so shouldn't it be removed? Don't we have a policy that all tests must pass on master?

This is what I see:

cpython38$ ./python.exe Lib/test/test_opcodes.py 
./python.exe Lib/test/test_opcodes.py 
.F......
======================================================================
FAIL: test_do_not_recreate_annotations (__main__.OpcodeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_opcodes.py", line 45, in test_do_not_recreate_annotations
    class C:
  File "Lib/test/test_opcodes.py", line 48, in C
    x: int
AssertionError: NameError not raised

----------------------------------------------------------------------
Ran 8 tests in 0.003s

FAILED (failures=1)
cpython38$
History
Date User Action Args
2018-07-17 15:53:10gvanrossumsetrecipients: + gvanrossum, kayhayen, Mark.Shannon, serhiy.storchaka, levkivskyi
2018-07-17 15:53:10gvanrossumsetmessageid: <1531842790.42.0.56676864532.issue34136@psf.upfronthosting.co.za>
2018-07-17 15:53:10gvanrossumlinkissue34136 messages
2018-07-17 15:53:10gvanrossumcreate