summaryrefslogtreecommitdiff
path: root/tests/test_sysconfig.py
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-11-17 09:00:19 +0100
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-11-17 09:00:19 +0100
commit874f6ddbb74da00b9b323721cd79509fc1d5487b (patch)
treeb9a32d6442fdcfc3a19a15f1a989fd867a157da5 /tests/test_sysconfig.py
parent62a1a687116b05a3426b5dab8ea0375d119a22c5 (diff)
downloadpython-setuptools-git-874f6ddbb74da00b9b323721cd79509fc1d5487b.tar.gz
Issue 26931: Skip the test_distutils tests using a compiler executable
that is not found
Diffstat (limited to 'tests/test_sysconfig.py')
-rw-r--r--tests/test_sysconfig.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_sysconfig.py b/tests/test_sysconfig.py
index fc4d1de1..fe4a2994 100644
--- a/tests/test_sysconfig.py
+++ b/tests/test_sysconfig.py
@@ -39,15 +39,6 @@ class SysconfigTestCase(support.EnvironGuard, unittest.TestCase):
self.assertNotEqual(sysconfig.get_python_lib(),
sysconfig.get_python_lib(prefix=TESTFN))
- def test_get_python_inc(self):
- inc_dir = sysconfig.get_python_inc()
- # This is not much of a test. We make sure Python.h exists
- # in the directory returned by get_python_inc() but we don't know
- # it is the correct file.
- self.assertTrue(os.path.isdir(inc_dir), inc_dir)
- python_h = os.path.join(inc_dir, "Python.h")
- self.assertTrue(os.path.isfile(python_h), python_h)
-
def test_get_config_vars(self):
cvars = sysconfig.get_config_vars()
self.assertIsInstance(cvars, dict)