summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_install.py
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-11-17 08:01:58 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-11-17 08:01:58 (GMT)
commit56758354c8dec21792aeddb9ade4ea5072a7e1a2 (patch)
treeaaef673eb0c4b4ccccb20a3847198f4fa34ae9d0 /Lib/distutils/tests/test_install.py
parentb7a45d448e80e6f14c28a492c99b9d25171d6f74 (diff)
parentdfc13e069a0ff2dedce0096a85335755aecec4a3 (diff)
downloadcpython-56758354c8dec21792aeddb9ade4ea5072a7e1a2.zip
cpython-56758354c8dec21792aeddb9ade4ea5072a7e1a2.tar.gz
cpython-56758354c8dec21792aeddb9ade4ea5072a7e1a2.tar.bz2
Issue 26931: Merge 3.6
Diffstat (limited to 'Lib/distutils/tests/test_install.py')
-rw-r--r--Lib/distutils/tests/test_install.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_install.py b/Lib/distutils/tests/test_install.py
index 9313330..287ab19 100644
--- a/Lib/distutils/tests/test_install.py
+++ b/Lib/distutils/tests/test_install.py
@@ -17,6 +17,7 @@ from distutils.errors import DistutilsOptionError
from distutils.extension import Extension
from distutils.tests import support
+from test import support as test_support
def _make_ext_name(modname):
@@ -196,6 +197,9 @@ class InstallTestCase(support.TempdirManager,
self.assertEqual(found, expected)
def test_record_extensions(self):
+ cmd = test_support.missing_compiler_executable()
+ if cmd is not None:
+ self.skipTest('The %r command is not found' % cmd)
install_dir = self.mkdtemp()
project_dir, dist = self.create_dist(ext_modules=[
Extension('xx', ['xxmodule.c'])])