]> granicus.if.org Git - python/commitdiff
Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux platforms.
authorXavier de Gaye <xdegaye@users.sourceforge.net>
Wed, 14 Dec 2016 19:37:10 +0000 (20:37 +0100)
committerXavier de Gaye <xdegaye@users.sourceforge.net>
Wed, 14 Dec 2016 19:37:10 +0000 (20:37 +0100)
Lib/test/test_sysconfig.py

index 747b2e5815f50c93f06f9c3ffba2331b95847397..355bc614da35ac4325560996f1f1001b13315996 100644 (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