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 christian.heimes
Recipients The Compiler, barry, christian.heimes, eli.bendersky, ethan.furman, ezio.melotti, mrabarnett, mscuthbert, pablogsal, rhettinger, scoder, serhiy.storchaka, veky
Date 2022-01-16.18:40:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642358433.22.0.525408295553.issue40066@roundup.psfhosted.org>
In-reply-to
Content
GH-30582 broke doc tests in 3.11 branch:

File "library/enum.rst", line ?, in default
Failed example:
    Color(0)
Exception raised:
    Traceback (most recent call last):
      File "/home/runner/work/cpython/cpython/Lib/doctest.py", line 1346, in __run
        exec(compile(example.source, filename, "single",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "<doctest default[0]>", line 1, in <module>
        Color(0)
        ^^^^^
    NameError: name 'Color' is not defined
History
Date User Action Args
2022-01-16 18:40:33christian.heimessetrecipients: + christian.heimes, barry, rhettinger, scoder, ezio.melotti, mrabarnett, eli.bendersky, ethan.furman, serhiy.storchaka, The Compiler, veky, mscuthbert, pablogsal
2022-01-16 18:40:33christian.heimessetmessageid: <1642358433.22.0.525408295553.issue40066@roundup.psfhosted.org>
2022-01-16 18:40:33christian.heimeslinkissue40066 messages
2022-01-16 18:40:33christian.heimescreate