summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_enum.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-01-10 19:12:34 (GMT)
committerGitHub <noreply@github.com>2022-01-10 19:12:34 (GMT)
commit13e4659276c2af2fa5b0f2b3a31dcd69064868ef (patch)
tree4ba0fd9fa6ad47d9d0caa761be24cd0c6efa7057 /Lib/test/test_enum.py
parent582286d71c7ee61f5376a846a83c7be4a5727636 (diff)
downloadcpython-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.py11
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(