mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +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
|
@ -191,7 +191,7 @@ class PlatformTest(unittest.TestCase):
|
|||
self.assertEqual(res[1], ('', '', ''))
|
||||
|
||||
if sys.byteorder == 'little':
|
||||
self.assertEqual(res[2], 'i386')
|
||||
self.assertIn(res[2], ('i386', 'x86_64'))
|
||||
else:
|
||||
self.assertEqual(res[2], 'PowerPC')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue