Use raw string to avoid deprecation warning (GH-31427)

This commit is contained in:
Dennis Sweeney 2022-02-19 00:57:36 -05:00 committed by GitHub
parent 5543d9c559
commit 7a4791e036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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