mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Use raw string to avoid deprecation warning (GH-31427)
This commit is contained in:
parent
5543d9c559
commit
7a4791e036
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue