diff options
author | Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 2022-02-19 05:57:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 05:57:36 (GMT) |
commit | 7a4791e03613bfbdc0d3ddfabfc0b59e6a6f7358 (patch) | |
tree | 865b7719f5d47a504eadcc0f9f773e5ff867d07e /Lib | |
parent | 5543d9c5590c47b7734569d95c3a478f092b525d (diff) | |
download | cpython-7a4791e03613bfbdc0d3ddfabfc0b59e6a6f7358.zip cpython-7a4791e03613bfbdc0d3ddfabfc0b59e6a6f7358.tar.gz cpython-7a4791e03613bfbdc0d3ddfabfc0b59e6a6f7358.tar.bz2 |
Use raw string to avoid deprecation warning (GH-31427)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_property.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_property.py b/Lib/test/test_property.py index 7d1c4a1..d91ad1c 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 |