Kaydet (Commit) b7d413f9 authored tarafından Florent Xicluna's avatar Florent Xicluna

Add sensible information about the OS X platform to diagnose issue #8423:

test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
üst 37368163
...@@ -426,7 +426,12 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, ...@@ -426,7 +426,12 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
# Print basic platform information # Print basic platform information
print "==", platform.python_implementation(), \ print "==", platform.python_implementation(), \
" ".join(sys.version.split()) " ".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() print "== ", os.getcwd()
alltests = findtests(testdir, stdtests, nottests) alltests = findtests(testdir, stdtests, nottests)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment