diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-01-10 19:12:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 19:12:34 (GMT) |
commit | 13e4659276c2af2fa5b0f2b3a31dcd69064868ef (patch) | |
tree | 4ba0fd9fa6ad47d9d0caa761be24cd0c6efa7057 /Lib/test/test_enum.py | |
parent | 582286d71c7ee61f5376a846a83c7be4a5727636 (diff) | |
download | cpython-13e4659276c2af2fa5b0f2b3a31dcd69064868ef.zip cpython-13e4659276c2af2fa5b0f2b3a31dcd69064868ef.tar.gz cpython-13e4659276c2af2fa5b0f2b3a31dcd69064868ef.tar.bz2 |
bpo-46327: [Enum] remove skipped tests (GH-30512)
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r-- | Lib/test/test_enum.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index dfa81a5..04a68cc 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( |