The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler().
test_distutils