]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46327: [Enum] remove skipped tests (GH-30512)
authorNikita Sobolev <mail@sobolevn.me>
Mon, 10 Jan 2022 19:12:34 +0000 (22:12 +0300)
committerGitHub <noreply@github.com>
Mon, 10 Jan 2022 19:12:34 +0000 (11:12 -0800)
Lib/test/test_enum.py

index dfa81a52a93a4d46b945780519ecadbc7aa5e236..04a68cc9ea2044d498c5fe0915d3e9e2d6f8b519 100644 (file)
@@ -4523,17 +4523,6 @@ class TestIntEnumConvert(unittest.TestCase):
             [uncomp.COMPLEX_A, uncomp.COMPLEX_B, uncomp.COMPLEX_C],
         )
 
-    @unittest.skipUnless(python_version == (3, 8),
-                         '_convert was deprecated in 3.8')
-    def test_convert_warn(self):
-        with self.assertWarns(DeprecationWarning):
-            enum.IntEnum._convert(
-                'UnittestConvert',
-                MODULE,
-                filter=lambda x: x.startswith('CONVERT_TEST_'))
-
-    @unittest.skipUnless(python_version >= (3, 9),
-                         '_convert was removed in 3.9')
     def test_convert_raise(self):
         with self.assertRaises(AttributeError):
             enum.IntEnum._convert(