Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'

as the processor type on some Mac systems.  Also fix NameError in fallback
_mac_ver_gestalt function.  And remove out-of-date URL in docs.
This commit is contained in:
Ned Deily 2011-07-13 15:05:31 -07:00
parent bf547fd3f2
commit 0ab67ee79e
4 changed files with 5 additions and 4 deletions

View file

@ -765,6 +765,7 @@ def _mac_ver_gestalt():
0x2: 'PowerPC',
0xa: 'i386'}.get(sysa,'')
versioninfo=('', '', '')
return release,versioninfo,machine
def _mac_ver_xml():