mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #26516: Fix test_capi on AIX
Fix regex for parse a pointer address.
This commit is contained in:
parent
0ab7d0978b
commit
08572f68a9
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue