Skip to content

bpo-41718: Reduce test.libregrtest imports#22089

Closed
vstinner wants to merge 1 commit intopython:masterfrom
vstinner:regrtest_save_env
Closed

bpo-41718: Reduce test.libregrtest imports#22089
vstinner wants to merge 1 commit intopython:masterfrom
vstinner:regrtest_save_env

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Sep 4, 2020

test.libregrtest.save_env no longer imports asyncio, multiprocessing
nor urllib to reduce the number of imports, to better isolate unit
tests.

https://bugs.python.org/issue41718

test.libregrtest.save_env no longer imports asyncio, multiprocessing
nor urllib to reduce the number of imports, to better isolate unit
tests.
@vstinner
Copy link
Copy Markdown
Member Author

@serhiy-storchaka suggested a different approach, so I created PR #24934. I keep this PR open until we decide which approach is the best.

@vstinner
Copy link
Copy Markdown
Member Author

I merged PR #24934 instead.

@vstinner vstinner closed this Mar 23, 2021
@vstinner vstinner deleted the regrtest_save_env branch March 23, 2021 00:43
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