From: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> Date: Sat, 19 Feb 2022 05:57:36 +0000 (-0500) Subject: Use raw string to avoid deprecation warning (GH-31427) X-Git-Tag: v3.11.0a6~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a4791e03613bfbdc0d3ddfabfc0b59e6a6f7358;p=thirdparty%2FPython%2Fcpython.git Use raw string to avoid deprecation warning (GH-31427) --- diff --git a/Lib/test/test_property.py b/Lib/test/test_property.py index 7d1c4a1e1288..d91ad1c19127 100644 --- a/Lib/test/test_property.py +++ b/Lib/test/test_property.py @@ -342,7 +342,7 @@ class PropertyUnreachableAttributeWithName(_PropertyUnreachableAttribute, unitte class PropertyUnreachableAttributeNoName(_PropertyUnreachableAttribute, unittest.TestCase): - msg_format = "^property of 'PropertyUnreachableAttributeNoName\.cls' object {}$" + msg_format = r"^property of 'PropertyUnreachableAttributeNoName\.cls' object {}$" class cls: pass