diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-05-13 17:05:29 +0000 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-05-13 17:05:29 +0000 |
commit | b7d413f9bc1321ab3fa280eccf2d4f540d69112e (patch) | |
tree | cfadc106c9c13ae511df37ee5ce2516ef696fbd7 | |
parent | 37368163bd2772c611f565f2bef95c8ba684918e (diff) | |
download | cpython-git-b7d413f9bc1321ab3fa280eccf2d4f540d69112e.tar.gz |
Add sensible information about the OS X platform to diagnose issue #8423:
test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
-rwxr-xr-x | Lib/test/regrtest.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index a4139d313d..6e024e96ac 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -426,7 +426,12 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, # 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) |