Skip to content

Commit 7a4791e

Browse files
authored
Use raw string to avoid deprecation warning (GH-31427)
1 parent 5543d9c commit 7a4791e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class cls:
342342

343343

344344
class PropertyUnreachableAttributeNoName(_PropertyUnreachableAttribute, unittest.TestCase):
345-
msg_format = "^property of 'PropertyUnreachableAttributeNoName\.cls' object {}$"
345+
msg_format = r"^property of 'PropertyUnreachableAttributeNoName\.cls' object {}$"
346346

347347
class cls:
348348
pass

0 commit comments

Comments
 (0)