]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Rename redundant enum tests so that they run (GH-102535)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 14 Mar 2023 22:46:01 +0000 (15:46 -0700)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2023 22:46:01 +0000 (15:46 -0700)
(cherry picked from commit a028778d4c813914ae1e6ef3a04bb96dbf92ace6)

Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>
Lib/test/test_enum.py

index 0143e8594d6e4df77143e342a8c3aa895f8f4d8d..72dfb9881779796be71ce287ce271dd5948298bf 100644 (file)
@@ -4500,15 +4500,14 @@ class MiscTestCase(unittest.TestCase):
             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