[Python-checkins] cpython (3.6): Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux

xavier.degaye python-checkins at python.org
Wed Dec 14 14:38:31 EST 2016


https://hg.python.org/cpython/rev/ab3d870aa3bc
changeset: 105626:ab3d870aa3bc
branch: 3.6
parent: 105624:70ae89898398
user: Xavier de Gaye <xdegaye at users.sourceforge.net>
date: Wed Dec 14 20:37:10 2016 +0100
summary:
 Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux platforms.
files:
 Lib/test/test_sysconfig.py | 3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -385,7 +385,8 @@
 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
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /