mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
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:
parent
bf547fd3f2
commit
0ab67ee79e
4 changed files with 5 additions and 4 deletions
|
@ -765,6 +765,7 @@ def _mac_ver_gestalt():
|
|||
0x2: 'PowerPC',
|
||||
0xa: 'i386'}.get(sysa,'')
|
||||
|
||||
versioninfo=('', '', '')
|
||||
return release,versioninfo,machine
|
||||
|
||||
def _mac_ver_xml():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue