From: Serhiy Storchaka Date: Tue, 13 Feb 2024 10:40:40 +0000 (+0200) Subject: [3.11] gh-115252: Fix test_enum with -OO mode again (GH-115334) (GH-115397) X-Git-Tag: v3.11.9~215 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ba2d78cbb2e693ea226b7f4848970dd4544d245;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-115252: Fix test_enum with -OO mode again (GH-115334) (GH-115397) (cherry picked from commit ca3604a3e33d833ef698b44a4b82c5bc8c771fcb) --- diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index 0d0aa479254f..f37e2f7e1a6f 100644 --- a/Lib/test/test_enum.py +++ b/Lib/test/test_enum.py @@ -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: