From 2052086dbe2ad3d67be5c4aa89713219a873ce1b Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 13 Feb 2024 12:21:20 +0200 Subject: [PATCH] gh-115252: Fix test_enum with -OO mode again (GH-115334) (cherry picked from commit ca3604a3e33d833ef698b44a4b82c5bc8c771fcb) Co-authored-by: Serhiy Storchaka --- Lib/test/test_enum.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index 99e291366a9dec..ec082c46d10405 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: