Skip to content

[2.7] bpo-36235: Enhance distutils test_customize_compiler() (GH-12403)#12417

Merged
vstinner merged 1 commit intopython:2.7from
vstinner:customize_compiler_test27
Mar 18, 2019
Merged

[2.7] bpo-36235: Enhance distutils test_customize_compiler() (GH-12403)#12417
vstinner merged 1 commit intopython:2.7from
vstinner:customize_compiler_test27

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Mar 18, 2019

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

(cherry picked from commit 72c7b37)

https://bugs.python.org/issue36235

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

(cherry picked from commit 72c7b37)
@vstinner
Copy link
Copy Markdown
Member Author

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

@vstinner vstinner merged commit 8c380e9 into python:2.7 Mar 18, 2019
@vstinner vstinner deleted the customize_compiler_test27 branch March 18, 2019 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants