From 652bcd9f9cd2ed89b5fa958f8456556aa43b48cc Mon Sep 17 00:00:00 2001 From: Ethan Furman Date: Mon, 3 May 2021 18:44:30 -0700 Subject: fix enum and backslash warnings (GH-25861) - Enum warning in test_faulthandler - backslash warning in test_ipaddress --- Lib/test/test_ipaddress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_ipaddress.py') 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", -- cgit v1.2.1