From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 13 Feb 2024 10:38:27 +0000 (+0100) Subject: [3.12] gh-115252: Fix test_enum with -OO mode again (GH-115334) (GH-115396) X-Git-Tag: v3.12.3~288 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79d1d6de1df47b429d92573df9db9fc90abbdf39;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-115252: Fix test_enum with -OO mode again (GH-115334) (GH-115396) (cherry picked from commit ca3604a3e33d833ef698b44a4b82c5bc8c771fcb) Co-authored-by: Serhiy Storchaka --- diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index 99e291366a9d..ec082c46d104 100644 --- a/Lib/test/test_enum.py +++ b/Lib/test/test_enum.py @@ -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: