mirror of
https://github.com/python/cpython
synced 2024-10-14 14:53:36 +00:00
gh-115252: Fix test_enum
with -OO
mode (GH-115253)
This commit is contained in:
parent
6f93b4df92
commit
33f56b7432
|
@ -4891,11 +4891,11 @@ class Color(enum.Enum)
|
||||||
|
|
|
|
||||||
| Data and other attributes defined here:
|
| Data and other attributes defined here:
|
||||||
|
|
|
|
||||||
| YELLOW = <Color.YELLOW: 3>
|
| CYAN = <Color.CYAN: 1>
|
||||||
|
|
|
|
||||||
| MAGENTA = <Color.MAGENTA: 2>
|
| MAGENTA = <Color.MAGENTA: 2>
|
||||||
|
|
|
|
||||||
| CYAN = <Color.CYAN: 1>
|
| YELLOW = <Color.YELLOW: 3>
|
||||||
|
|
|
|
||||||
| ----------------------------------------------------------------------
|
| ----------------------------------------------------------------------
|
||||||
| Data descriptors inherited from enum.Enum:
|
| Data descriptors inherited from enum.Enum:
|
||||||
|
@ -4905,7 +4905,18 @@ class Color(enum.Enum)
|
||||||
| value
|
| value
|
||||||
|
|
|
|
||||||
| ----------------------------------------------------------------------
|
| ----------------------------------------------------------------------
|
||||||
| Data descriptors inherited from enum.EnumType:
|
| Methods inherited from enum.EnumType:
|
||||||
|
|
|
||||||
|
| __contains__(value) from enum.EnumType
|
||||||
|
|
|
||||||
|
| __getitem__(name) from enum.EnumType
|
||||||
|
|
|
||||||
|
| __iter__() from enum.EnumType
|
||||||
|
|
|
||||||
|
| __len__() from enum.EnumType
|
||||||
|
|
|
||||||
|
| ----------------------------------------------------------------------
|
||||||
|
| Readonly properties inherited from enum.EnumType:
|
||||||
|
|
|
|
||||||
| __members__"""
|
| __members__"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue