summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_exception_group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_exception_group.py b/Lib/test/test_exception_group.py
index bbfce94..b7b53bb 100644
--- a/Lib/test/test_exception_group.py
+++ b/Lib/test/test_exception_group.py
@@ -22,7 +22,7 @@ class TestExceptionGroupTypeHierarchy(unittest.TestCase):
class BadConstructorArgs(unittest.TestCase):
def test_bad_EG_construction__too_many_args(self):
- MSG = 'BaseExceptionGroup.__new__\(\) takes exactly 2 arguments'
+ MSG = r'BaseExceptionGroup.__new__\(\) takes exactly 2 arguments'
with self.assertRaisesRegex(TypeError, MSG):
ExceptionGroup('no errors')
with self.assertRaisesRegex(TypeError, MSG):