Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2019
Merged

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

merged 1 commit into from
Mar 18, 2019

Conversation

vstinner
Copy link
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
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