diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2016-11-21 17:22:05 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2016-11-21 17:22:05 (GMT) |
commit | 23bb6f48ea30e805b558a4e03849c362029ca7c4 (patch) | |
tree | 8109cb1787acc3949014320885ceaa234c37fa1b /Lib/test/test_enum.py | |
parent | 64a6861b0f113002763407159fe287a5c38a8fa2 (diff) | |
download | cpython-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.py | 6 |
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 |