]> granicus.if.org Git - python/commitdiff
bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12764)
authorVictor Stinner <vstinner@redhat.com>
Wed, 10 Apr 2019 23:38:48 +0000 (01:38 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Apr 2019 23:38:48 +0000 (01:38 +0200)
Set CUSTOMIZED_OSX_COMPILER to True to disable
_osx_support.customize_compiler().

Lib/distutils/tests/test_sysconfig.py

index 245a6c86b1112bfba5ce58cf7e8ba78e29252274..236755d095272fa1dbc9bd2719b6ee4b1597132f 100644 (file)
@@ -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()