mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
tests: fix test_mac_ver on M1 macs
This commit is contained in:
1 parent
570a3893e7
commit
f35f6ad18c
1 file changed
+1
-5
@@ -248,15 +248,11 @@ class PlatformTest(unittest.TestCase):
|
||||
self.assertEqual(res[1], ('', '', ''))
|
||||
|
||||
if sys.byteorder == 'little':
|
||||
self.assertIn(res[2], ('i386', 'x86_64'))
|
||||
self.assertIn(res[2], ('i386', 'x86_64', 'arm64'))
|
||||
else:
|
||||
self.assertEqual(res[2], 'PowerPC')
|
||||
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
if sys.platform == "darwin":
|
||||
test_mac_ver = unittest.expectedFailure(test_mac_ver)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
@unittest.skipUnless(sys.platform == 'darwin', "OSX only test")
|
||||
|
||||
Reference in new issue
Block a user