mirror of https://github.com/python/cpython
Use raw string to avoid deprecation warning (GH-31427)
This commit is contained in:
parent
5543d9c559
commit
7a4791e036
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue