summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_capi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index 5761686..6c940ef 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -561,7 +561,7 @@ class Test_testcapi(unittest.TestCase):
class MallocTests(unittest.TestCase):
ENV = 'debug'
# '0x04c06e0' or '04C06E0'
- PTR_REGEX = r'(?:0x[0-9a-f]+|[0-9A-F]+)'
+ PTR_REGEX = r'(?:0x)?[0-9a-fA-F]+'
def check(self, code):
with support.SuppressCrashReport():