summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_enum.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2016-11-21 17:22:05 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2016-11-21 17:22:05 (GMT)
commit23bb6f48ea30e805b558a4e03849c362029ca7c4 (patch)
tree8109cb1787acc3949014320885ceaa234c37fa1b /Lib/test/test_enum.py
parent64a6861b0f113002763407159fe287a5c38a8fa2 (diff)
downloadcpython-23bb6f48ea30e805b558a4e03849c362029ca7c4.zip
cpython-23bb6f48ea30e805b558a4e03849c362029ca7c4.tar.gz
cpython-23bb6f48ea30e805b558a4e03849c362029ca7c4.tar.bz2
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r--Lib/test/test_enum.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py
index 2b3bfea..e97ef94 100644
--- a/Lib/test/test_enum.py
+++ b/Lib/test/test_enum.py
@@ -69,9 +69,9 @@ except Exception as exc:
# for doctests
try:
class Fruit(Enum):
- tomato = 1
- banana = 2
- cherry = 3
+ TOMATO = 1
+ BANANA = 2
+ CHERRY = 3
except Exception:
pass