diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-04-11 01:38:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 01:38:48 +0200 |
commit | a9bd8925c7fa50dd3cfab125b824ec192133ef49 (patch) | |
tree | 9daf5f0f2f3661692082ae3be762e7b8ce557ca4 /Lib/distutils | |
parent | fix typo in doc (#12686) (diff) | |
download | cpython-a9bd8925c7fa50dd3cfab125b824ec192133ef49.tar.gz cpython-a9bd8925c7fa50dd3cfab125b824ec192133ef49.tar.bz2 cpython-a9bd8925c7fa50dd3cfab125b824ec192133ef49.zip |
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.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_sysconfig.py b/Lib/distutils/tests/test_sysconfig.py index 245a6c86b11..236755d0952 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() |