Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux platforms.

This commit is contained in:
Xavier de Gaye 2016-12-14 20:37:10 +01:00
parent c3c6f71662
commit 471bc3c814
1 changed files with 2 additions and 1 deletions

View File

@ -385,7 +385,8 @@ class TestSysConfig(unittest.TestCase):
self.assertIsNotNone(vars['SO'])
self.assertEqual(vars['SO'], vars['EXT_SUFFIX'])
@unittest.skipUnless(hasattr(sys.implementation, '_multiarch'),
@unittest.skipUnless(sys.platform == 'linux' and
hasattr(sys.implementation, '_multiarch'),
'multiarch-specific test')
def test_triplet_in_ext_suffix(self):
import ctypes, platform, re