summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_enum.py
diff options
context:
space:
mode:
authorT. Wouters <thomas@python.org>2023-05-22 23:17:06 (GMT)
committerGitHub <noreply@github.com>2023-05-22 23:17:06 (GMT)
commit586aca3fc647c626c39e995d07d8bd7dd13e2d52 (patch)
tree61dfdebb9b6e45ea65b15f1ba03cef60776dae0c /Lib/test/test_enum.py
parent4194d8f2c40f478eb0fc9b6fa9b913baaff229da (diff)
downloadcpython-586aca3fc647c626c39e995d07d8bd7dd13e2d52.zip
cpython-586aca3fc647c626c39e995d07d8bd7dd13e2d52.tar.gz
cpython-586aca3fc647c626c39e995d07d8bd7dd13e2d52.tar.bz2
gh-104764: Skip failing tests in test_enum that started failing. (#104765)
Skip failing tests in test_enum that started failing when the version was bumped to 3.13.
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r--Lib/test/test_enum.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py
index fb7a016..350554b 100644
--- a/Lib/test/test_enum.py
+++ b/Lib/test/test_enum.py
@@ -1090,7 +1090,7 @@ class TestSpecial(unittest.TestCase):
)
@unittest.skipIf(
- python_version < (3, 13),
+ python_version < (3, 14),
'inner classes are still members',
)
def test_nested_classes_in_enum_are_not_members(self):
@@ -4261,8 +4261,8 @@ class TestInternals(unittest.TestCase):
self.assertEqual(Color.green.value, 3)
@unittest.skipIf(
- python_version < (3, 13),
- 'mixed types with auto() will raise in 3.13',
+ python_version < (3, 14),
+ 'mixed types with auto() will raise in the future',
)
def test_auto_garbage_fail(self):
with self.assertRaisesRegex(TypeError, 'will require all values to be sortable'):
@@ -4271,8 +4271,8 @@ class TestInternals(unittest.TestCase):
blue = auto()
@unittest.skipIf(
- python_version < (3, 13),
- 'mixed types with auto() will raise in 3.13',
+ python_version < (3, 14),
+ 'mixed types with auto() will raise in the future',
)
def test_auto_garbage_corrected_fail(self):
with self.assertRaisesRegex(TypeError, 'will require all values to be sortable'):
@@ -4303,8 +4303,8 @@ class TestInternals(unittest.TestCase):
self.assertEqual(Color.blue.value, 'blue')
@unittest.skipIf(
- python_version < (3, 13),
- 'auto() will return highest value + 1 in 3.13',
+ python_version < (3, 14),
+ 'auto() will return highest value + 1 in the future',
)
def test_auto_with_aliases(self):
class Color(Enum):