[2.7] bpo-36235: Enhance distutils test_customize_compiler() (GH-12403) by vstinner · Pull Request #12417 · python/cpython
Conversation
The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler(). (cherry picked from commit 72c7b37)
Backport notes: I replaced ExitStack with dict copy/restore, and I replaced SHLIB_SUFFIX with SO for compiler.shared_lib_extension.
vstinner
deleted the
customize_compiler_test27
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters