[Python-checkins] bpo-33717: set terse to True when calling platform.platform in test.pythoninfo (GH-7797) (GH-7802)

Xiang Zhang webhook-mailer at python.org
Tue Jun 19 14:02:46 EDT 2018


https://github.com/python/cpython/commit/6aa283a6036f80e5820db2beae98c62745fae96f
commit: 6aa283a6036f80e5820db2beae98c62745fae96f
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Xiang Zhang <angwerzx at 126.com>
date: 2018-06-20T02:02:43+08:00
summary:

bpo-33717: set terse to True when calling platform.platform in test.pythoninfo (GH-7797) (GH-7802)

(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 9242a36bedd6..4a563e9baae2 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