summaryrefslogtreecommitdiff
path: root/Mailman/testing/test_enum.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/testing/test_enum.py')
-rw-r--r--Mailman/testing/test_enum.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/testing/test_enum.py b/Mailman/testing/test_enum.py
index de6877afc..a8c389bb4 100644
--- a/Mailman/testing/test_enum.py
+++ b/Mailman/testing/test_enum.py
@@ -93,9 +93,10 @@ class TestEnum(unittest.TestCase):
eq(int(Colors.blue), 3)
eq(int(MoreColors.red), 1)
eq(int(OtherColors.blue), 2)
-
+
def test_enum_duplicates(self):
try:
+ # This is bad because kyle and kenny have the same integer value.
class Bad(Enum):
cartman = 1
stan = 2