mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
bpo-35389: test.pythoninfo logs platform.libc_ver (GH-10951)
This commit is contained in:
parent
2d8f976cde
commit
848acf7249
1 changed files with 4 additions and 0 deletions
|
@ -144,6 +144,10 @@ def collect_platform(info_add):
|
||||||
info_add('platform.platform',
|
info_add('platform.platform',
|
||||||
platform.platform(aliased=True))
|
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):
|
def collect_locale(info_add):
|
||||||
import locale
|
import locale
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue