summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-02-13 10:38:27 (GMT)
committerGitHub <noreply@github.com>2024-02-13 10:38:27 (GMT)
commit79d1d6de1df47b429d92573df9db9fc90abbdf39 (patch)
tree6ccf81f79302054c101f009728597f05c598a9f3
parent4d87832d8790a2ceb9179ed28b71d83cb2a68ab5 (diff)
downloadcpython-79d1d6de1df47b429d92573df9db9fc90abbdf39.zip
cpython-79d1d6de1df47b429d92573df9db9fc90abbdf39.tar.gz
cpython-79d1d6de1df47b429d92573df9db9fc90abbdf39.tar.bz2
[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 <storchaka@gmail.com>
-rw-r--r--Lib/test/test_enum.py10
1 files 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: