[Python-checkins] Rename redundant enum tests so that they run (GH-102535)

miss-islington webhook-mailer at python.org
Tue Mar 14 18:46:09 EDT 2023


https://github.com/python/cpython/commit/1649f3e591b40e992a72fa2bf7c50dbc1333a820
commit: 1649f3e591b40e992a72fa2bf7c50dbc1333a820
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-03-14T15:46:01-07:00
summary:

Rename redundant enum tests so that they run (GH-102535)

(cherry picked from commit a028778d4c813914ae1e6ef3a04bb96dbf92ace6)

Co-authored-by: JosephSBoyle <48555120+JosephSBoyle at users.noreply.github.com>

files:
M Lib/test/test_enum.py

diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py
index 0143e8594d6e..72dfb9881779 100644
--- a/Lib/test/test_enum.py
+++ b/Lib/test/test_enum.py
@@ -4500,15 +4500,14 @@ class Double(Enum):
             TWO = 2
         self.assertEqual(Double.__doc__, None)
 
-
-    def test_doc_1(self):
+    def test_doc_3(self):
         class Triple(Enum):
             ONE = 1
             TWO = 2
             THREE = 3
         self.assertEqual(Triple.__doc__, None)
 
-    def test_doc_1(self):
+    def test_doc_4(self):
         class Quadruple(Enum):
             ONE = 1
             TWO = 2



More information about the Python-checkins mailing list