summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-07-13 22:09:49 (GMT)
committerNed Deily <nad@acm.org>2011-07-13 22:09:49 (GMT)
commit07b353716cb10a057eda7fb171b25dce6e14e1a2 (patch)
tree7a217ceb9092b3ff74494b45a20dedb81ee1bc7e /Lib/platform.py
parentcb41cda8e302279821433d862dfe80af8eea4597 (diff)
parent58e3350bd48d59c273e320c408f2546e6d09146e (diff)
downloadcpython-07b353716cb10a057eda7fb171b25dce6e14e1a2.zip
cpython-07b353716cb10a057eda7fb171b25dce6e14e1a2.tar.gz
cpython-07b353716cb10a057eda7fb171b25dce6e14e1a2.tar.bz2
Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
as the processor type on some Mac systems.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/platform.py b/Lib/platform.py
index e2a74fe..0cb0a4f 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -679,6 +679,7 @@ def _mac_ver_gestalt():
0x2: 'PowerPC',
0xa: 'i386'}.get(sysa,'')
+ versioninfo=('', '', '')
return release,versioninfo,machine
def _mac_ver_xml():