diff options
author | Ned Deily <nad@acm.org> | 2011-07-13 22:09:49 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2011-07-13 22:09:49 (GMT) |
commit | 07b353716cb10a057eda7fb171b25dce6e14e1a2 (patch) | |
tree | 7a217ceb9092b3ff74494b45a20dedb81ee1bc7e /Lib/test/test_platform.py | |
parent | cb41cda8e302279821433d862dfe80af8eea4597 (diff) | |
parent | 58e3350bd48d59c273e320c408f2546e6d09146e (diff) | |
download | cpython-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/test/test_platform.py')
-rw-r--r-- | Lib/test/test_platform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_platform.py b/Lib/test/test_platform.py index 93f86d9..cfe623a 100644 --- a/Lib/test/test_platform.py +++ b/Lib/test/test_platform.py @@ -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') |