Skip to content

Commit

Permalink
pythongh-115252: Fix test_enum with -00 mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 10, 2024
1 parent 9d1a353 commit 0f337e6
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions Lib/test/test_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -4891,11 +4891,11 @@ class Color(enum.Enum)
|
| Data and other attributes defined here:
|
| YELLOW = <Color.YELLOW: 3>
| CYAN = <Color.CYAN: 1>
|
| MAGENTA = <Color.MAGENTA: 2>
|
| CYAN = <Color.CYAN: 1>
| YELLOW = <Color.YELLOW: 3>
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
Expand All @@ -4905,7 +4905,18 @@ class Color(enum.Enum)
| 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__"""

Expand Down

0 comments on commit 0f337e6

Please sign in to comment.