Skip to content

bpo-40275: test.support imports subprocess lazily#20471

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:support_lazily
May 27, 2020
Merged

bpo-40275: test.support imports subprocess lazily#20471
vstinner merged 1 commit intopython:masterfrom
vstinner:support_lazily

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 27, 2020

test.support module now imports the platform and subprocess modules
lazily to reduce the number of modules imported by
"import test.support".

With this change, the threading module is no longer imported
indirectly by "import test.support".

Use sys.version rather than platform.machine() to detect the Windows
ARM32 buildbot.

https://bugs.python.org/issue40275

test.support module now imports the platform and subprocess modules
lazily to reduce the number of modules imported by
"import test.support".

With this change, the threading module is no longer imported
indirectly by "import test.support".

Use sys.version rather than platform.machine() to detect the Windows
ARM32 buildbot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants