summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-10 23:38:48 (GMT)
committerGitHub <noreply@github.com>2019-04-10 23:38:48 (GMT)
commita9bd8925c7fa50dd3cfab125b824ec192133ef49 (patch)
tree9daf5f0f2f3661692082ae3be762e7b8ce557ca4 /Lib/distutils
parent42f55ee50011ae822c0b5d4dabf231df8ea9469f (diff)
downloadcpython-a9bd8925c7fa50dd3cfab125b824ec192133ef49.zip
cpython-a9bd8925c7fa50dd3cfab125b824ec192133ef49.tar.gz
cpython-a9bd8925c7fa50dd3cfab125b824ec192133ef49.tar.bz2
bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12764)
Set CUSTOMIZED_OSX_COMPILER to True to disable _osx_support.customize_compiler().
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/tests/test_sysconfig.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_sysconfig.py b/Lib/distutils/tests/test_sysconfig.py
index 245a6c8..236755d 100644
--- a/Lib/distutils/tests/test_sysconfig.py
+++ b/Lib/distutils/tests/test_sysconfig.py
@@ -92,6 +92,9 @@ class SysconfigTestCase(support.EnvironGuard, unittest.TestCase):
'CCSHARED': '--sc-ccshared',
'LDSHARED': 'sc_ldshared',
'SHLIB_SUFFIX': 'sc_shutil_suffix',
+
+ # On macOS, disable _osx_support.customize_compiler()
+ 'CUSTOMIZED_OSX_COMPILER': 'True',
}
comp = compiler()