]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-115252: Fix test_enum with -OO mode again (GH-115334) (GH-115397)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 13 Feb 2024 10:40:40 +0000 (12:40 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Feb 2024 10:40:40 +0000 (10:40 +0000)
(cherry picked from commit ca3604a3e33d833ef698b44a4b82c5bc8c771fcb)

Lib/test/test_enum.py

index 0d0aa479254ff4810138e65d9a5192dd3ea54802..f37e2f7e1a6fa970dbca7e95c399787029d8b90a 100644 (file)
@@ -4497,15 +4497,15 @@ class Color(enum.Enum)
  |  value
  |\x20\x20
  |  ----------------------------------------------------------------------
- |  Methods inherited from enum.EnumType:
+ |  Static methods inherited from enum.EnumType:
  |\x20\x20
- |  __contains__(member) from enum.EnumType
+ |  __contains__(member)
  |\x20\x20
- |  __getitem__(name) from enum.EnumType
+ |  __getitem__(name)
  |\x20\x20
- |  __iter__() from enum.EnumType
+ |  __iter__()
  |\x20\x20
- |  __len__() from enum.EnumType
+ |  __len__()
  |\x20\x20
  |  ----------------------------------------------------------------------
  |  Readonly properties inherited from enum.EnumType: