]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-115252: Fix test_enum with -OO mode again (GH-115334) (GH-115396)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 13 Feb 2024 10:38:27 +0000 (11:38 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Feb 2024 10:38:27 +0000 (10:38 +0000)
(cherry picked from commit ca3604a3e33d833ef698b44a4b82c5bc8c771fcb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_enum.py

index 99e291366a9dec7e6ff42e80f35fd88da9c80e7c..ec082c46d10405e6593fc778608f5b7af5be0175 100644 (file)
@@ -4806,15 +4806,15 @@ class Color(enum.Enum)
  |  value
  |
  |  ----------------------------------------------------------------------
- |  Methods inherited from enum.EnumType:
+ |  Static methods inherited from enum.EnumType:
  |
- |  __contains__(value) from enum.EnumType
+ |  __contains__(value)
  |
- |  __getitem__(name) from enum.EnumType
+ |  __getitem__(name)
  |
- |  __iter__() from enum.EnumType
+ |  __iter__()
  |
- |  __len__() from enum.EnumType
+ |  __len__()
  |
  |  ----------------------------------------------------------------------
  |  Readonly properties inherited from enum.EnumType: