From 7a4791e03613bfbdc0d3ddfabfc0b59e6a6f7358 Mon Sep 17 00:00:00 2001 From: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> Date: Sat, 19 Feb 2022 00:57:36 -0500 Subject: [PATCH] Use raw string to avoid deprecation warning (GH-31427) --- Lib/test/test_property.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_property.py b/Lib/test/test_property.py index 7d1c4a1e128..d91ad1c1912 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