Add sensible information about the OS X platform to diagnose issue #8423:
test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index a4139d3..6e024e9 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -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)