From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 14 Mar 2023 22:46:01 +0000 (-0700) Subject: Rename redundant enum tests so that they run (GH-102535) X-Git-Tag: v3.11.3~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1649f3e591b40e992a72fa2bf7c50dbc1333a820;p=thirdparty%2FPython%2Fcpython.git Rename redundant enum tests so that they run (GH-102535) (cherry picked from commit a028778d4c813914ae1e6ef3a04bb96dbf92ace6) Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com> --- 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 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