gh-85100: Migrate BPO link to the GitHub link for malloc warnings (gh-101343)

This commit is contained in:
Dong-hee Na 2023-01-26 21:58:35 +09:00 committed by GitHub
parent dfad678d70
commit f2ac9510a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -582,7 +582,8 @@ def darwin_malloc_err_warning(test_name):
msg = ' NOTICE '
detail = (f'{test_name} may generate "malloc can\'t allocate region"\n'
'warnings on macOS systems. This behavior is known. Do not\n'
'report a bug unless tests are also failing. See bpo-40928.')
'report a bug unless tests are also failing.\n'
'See https://github.com/python/cpython/issues/85100')
padding, _ = shutil.get_terminal_size()
print(msg.center(padding, '-'))