changeset: 100536:7534eb7bd57e user: Victor Stinner date: Mon Mar 14 21:55:43 2016 +0100 files: Lib/test/test_capi.py description: Issue #26516: Fix test_capi on AIX Fix regex for parse a pointer address. diff -r 5c4aced98c11 -r 7534eb7bd57e Lib/test/test_capi.py --- a/Lib/test/test_capi.py Mon Mar 14 18:22:12 2016 +0100 +++ b/Lib/test/test_capi.py Mon Mar 14 21:55:43 2016 +0100 @@ -561,7 +561,7 @@ 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():