summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_enum.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-06-16 01:51:19 (GMT)
committerGitHub <noreply@github.com>2021-06-16 01:51:19 (GMT)
commit741b8ae1cfc507902eb57e20f003487af13e40c0 (patch)
tree685e72af60f09294fbe5195ce2fc08e540181afe /Lib/test/test_enum.py
parentac38a9f2dfbba95f5d4338eb11a0221d38ef9328 (diff)
downloadcpython-741b8ae1cfc507902eb57e20f003487af13e40c0.zip
cpython-741b8ae1cfc507902eb57e20f003487af13e40c0.tar.gz
cpython-741b8ae1cfc507902eb57e20f003487af13e40c0.tar.bz2
bpo-44342: [Enum] sync current docs to 3.10 (GH-26750)
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r--Lib/test/test_enum.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py
index 4626c24..c4c458e 100644
--- a/Lib/test/test_enum.py
+++ b/Lib/test/test_enum.py
@@ -3614,7 +3614,7 @@ class TestVerify(unittest.TestCase):
self.assertEqual(Bizarre.d.value, 6)
with self.assertRaisesRegex(
ValueError,
- "invalid Flag 'Bizarre': aliases b and d are missing combined values of 0x3 .use `enum.show_flag_values.value.` for details.",
+ "invalid Flag 'Bizarre': aliases b and d are missing combined values of 0x3 .use enum.show_flag_values.value. for details.",
):
@verify(NAMED_FLAGS)
class Bizarre(Flag):
@@ -3633,7 +3633,7 @@ class TestVerify(unittest.TestCase):
self.assertEqual(Bizarre.d.value, 6)
with self.assertRaisesRegex(
ValueError,
- "invalid Flag 'Bizarre': alias d is missing value 0x2 .use `enum.show_flag_values.value.` for details.",
+ "invalid Flag 'Bizarre': alias d is missing value 0x2 .use enum.show_flag_values.value. for details.",
):
@verify(NAMED_FLAGS)
class Bizarre(IntFlag):