]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-115252: Fix test_enum with -OO mode again (GH-115334)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 13 Feb 2024 10:21:20 +0000 (12:21 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Feb 2024 10:21:20 +0000 (12:21 +0200)
Lib/test/test_enum.py

index 5d7dae8829574b9a5b0da09d903398825a5ec5dc..61060f3dc29fd46002f72dd2207804bfcda3e179 100644 (file)
@@ -4905,15 +4905,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: