bpo-35389: test.pythoninfo logs platform.libc_ver (GH-10951)

This commit is contained in:
Victor Stinner 2018-12-05 23:21:54 +01:00 committed by GitHub
parent 2d8f976cde
commit 848acf7249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,10 @@ def collect_platform(info_add):
info_add('platform.platform',
platform.platform(aliased=True))
libc_ver = ('%s %s' % platform.libc_ver()).strip()
if libc_ver:
info_add('platform.libc_ver', libc_ver)
def collect_locale(info_add):
import locale