summaryrefslogtreecommitdiff
path: root/Lib/test/test_ipaddress.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-05-03 18:44:30 -0700
committerGitHub <noreply@github.com>2021-05-03 18:44:30 -0700
commit652bcd9f9cd2ed89b5fa958f8456556aa43b48cc (patch)
treebe4d08dca5ddf947f5f295eb13a431736057fa69 /Lib/test/test_ipaddress.py
parentd783ce789dd0688700a5ee3a4c7afdbecf3bf726 (diff)
downloadcpython-git-652bcd9f9cd2ed89b5fa958f8456556aa43b48cc.tar.gz
fix enum and backslash warnings (GH-25861)
- Enum warning in test_faulthandler - backslash warning in test_ipaddress
Diffstat (limited to 'Lib/test/test_ipaddress.py')
-rw-r--r--Lib/test/test_ipaddress.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ipaddress.py b/Lib/test/test_ipaddress.py
index cdd9880c3c..90559ce124 100644
--- a/Lib/test/test_ipaddress.py
+++ b/Lib/test/test_ipaddress.py
@@ -97,7 +97,7 @@ class CommonTestMixin_v4(CommonTestMixin):
def test_leading_zeros(self):
# bpo-36384: no leading zeros to avoid ambiguity with octal notation
- msg = "Leading zeros are not permitted in '\d+'"
+ msg = "Leading zeros are not permitted in '\\d+'"
addresses = [
"000.000.000.000",
"192.168.000.001",