mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
as the processor type on some Mac systems.
This commit is contained in:
commit
07b353716c
4 changed files with 5 additions and 4 deletions
|
@ -679,6 +679,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