tests: fix test_mac_ver on M1 macs

This commit is contained in:
Yossi Konstantinovsky committed 2021-07-20 14:36:05 +03:00
1 parent 570a3893e7
commit f35f6ad18c
1 file changed
+1 -5
+1 -5
View File
@@ -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")