[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)

@vstinner

Backport notes: I replaced ExitStack with dict copy/restore, and I replaced SHLIB_SUFFIX with SO for compiler.shared_lib_extension.

@vstinner vstinner deleted the customize_compiler_test27 branch

March 18, 2019 17:34

Labels