[Python-checkins] r81140 - python/trunk/Lib/test/regrtest.py

florent.xicluna python-checkins at python.org
Thu May 13 19:05:29 CEST 2010


Author: florent.xicluna
Date: Thu May 13 19:05:29 2010
New Revision: 81140

Log:
Add sensible information about the OS X platform to diagnose issue #8423:
test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".


Modified:
   python/trunk/Lib/test/regrtest.py

Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py	(original)
+++ python/trunk/Lib/test/regrtest.py	Thu May 13 19:05:29 2010
@@ -426,7 +426,12 @@
         # Print basic platform information
         print "==", platform.python_implementation(), \
                     " ".join(sys.version.split())
-        print "==  ", platform.platform(aliased=True)
+        print "==  ", platform.platform(aliased=True), \
+                      "%s-endian" % sys.byteorder,
+        if sys.platform == 'darwin':
+            print platform.mac_ver()
+        else:
+            print
         print "==  ", os.getcwd()
 
     alltests = findtests(testdir, stdtests, nottests)


More information about the Python-checkins mailing list