[Python-checkins] bpo-33717: set terse to True when calling platform.platform in test.pythoninfo (GH-7797) (GH-7803)
Xiang Zhang
webhook-mailer at python.org
Tue Jun 19 14:02:21 EDT 2018
https://github.com/python/cpython/commit/b2dd5f1b667b37b5d36b39adc3a3aa6ebf59ef0b
commit: b2dd5f1b667b37b5d36b39adc3a3aa6ebf59ef0b
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Xiang Zhang <angwerzx at 126.com>
date: 2018-06-20T02:02:17+08:00
summary:
bpo-33717: set terse to True when calling platform.platform in test.pythoninfo (GH-7797) (GH-7803)
(cherry picked from commit 71ca738f4cd2696d056d0cdb83bebd576f98ccc2)
Co-authored-by: Xiang Zhang <angwerzx at 126.com>
files:
M Lib/test/pythoninfo.py
diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py
index 1dc5700aac8d..d588353ce9cb 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -142,7 +142,7 @@ def collect_platform(info_add):
info_add('platform.python_implementation',
platform.python_implementation())
info_add('platform.platform',
- platform.platform(aliased=True))
+ platform.platform(aliased=True, terse=True))
def collect_locale(info_add):
More information about the Python-checkins
mailing list