mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Add sensible information about the OS X platform to diagnose issue #8423:
test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
This commit is contained in:
parent
37368163bd
commit
b7d413f9bc
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue