]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Rename redundant enum tests so that they run (#102535)
authorJosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>
Tue, 14 Mar 2023 22:16:45 +0000 (22:16 +0000)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2023 22:16:45 +0000 (15:16 -0700)
Lib/test/test_enum.py

index 2b14590b2c21af54e0bf3c832234205fb5ce67e0..a11bb441f06e8eeb61881b0b875c2b6b02c6be4a 100644 (file)
@@ -4579,15 +4579,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