Commit 08572f68 authored by Victor Stinner's avatar Victor Stinner

Issue #26516: Fix test_capi on AIX

Fix regex for parse a pointer address.
parent 0ab7d097
......@@ -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():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment