From 79d1d6de1df47b429d92573df9db9fc90abbdf39 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 13 Feb 2024 11:38:27 +0100 Subject: [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 --- 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 99e2913..ec082c4 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: -- cgit v0.12