diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-14 20:55:43 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-14 20:55:43 (GMT) |
commit | 08572f68a980576e883e4eba1227b59782d5192e (patch) | |
tree | d157aca06384936b99d117156b997f90f6dc9316 /Lib/test/test_capi.py | |
parent | 0ab7d0978b1686838e0eda40e8f950d2d4cbc16a (diff) | |
download | cpython-08572f68a980576e883e4eba1227b59782d5192e.zip cpython-08572f68a980576e883e4eba1227b59782d5192e.tar.gz cpython-08572f68a980576e883e4eba1227b59782d5192e.tar.bz2 |
Issue #26516: Fix test_capi on AIX
Fix regex for parse a pointer address.
Diffstat (limited to 'Lib/test/test_capi.py')
-rw-r--r-- | Lib/test/test_capi.py | 2 |
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(): |