From: Nikita Sobolev Date: Mon, 10 Jan 2022 19:12:34 +0000 (+0300) Subject: bpo-46327: [Enum] remove skipped tests (GH-30512) X-Git-Tag: v3.11.0a4~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13e4659276c2af2fa5b0f2b3a31dcd69064868ef;p=thirdparty%2FPython%2Fcpython.git bpo-46327: [Enum] remove skipped tests (GH-30512) --- diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index dfa81a52a93a..04a68cc9ea20 100644 --- a/Lib/test/test_enum.py +++ b/Lib/test/test_enum.py @@ -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(