We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582286d commit 13e4659Copy full SHA for 13e4659
Lib/test/test_enum.py
@@ -4523,17 +4523,6 @@ def test_convert_complex(self):
4523
[uncomp.COMPLEX_A, uncomp.COMPLEX_B, uncomp.COMPLEX_C],
4524
)
4525
4526
- @unittest.skipUnless(python_version == (3, 8),
4527
- '_convert was deprecated in 3.8')
4528
- def test_convert_warn(self):
4529
- with self.assertWarns(DeprecationWarning):
4530
- enum.IntEnum._convert(
4531
- 'UnittestConvert',
4532
- MODULE,
4533
- filter=lambda x: x.startswith('CONVERT_TEST_'))
4534
-
4535
- @unittest.skipUnless(python_version >= (3, 9),
4536
- '_convert was removed in 3.9')
4537
def test_convert_raise(self):
4538
with self.assertRaises(AttributeError):
4539
enum.IntEnum._convert(
0 commit comments