Skip to content

Migrate runtests.py from os.system to subprocess #10121

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 3 commits into from
Feb 21, 2021

Conversation

freundTech
Copy link
Contributor

Alternative PR to #10052. This version uses subprocess.

Also removes code, which was unreachable since mypy requires python 3.5.

Test Plan

The changed have been manually tested on linux and a windows VM with python installed to C:\Program Files\Python39 (So the path contains a space).

It was also tested that failure of individual tests still lead to the whole test script failing.

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hauntsaninja hauntsaninja merged commit 9cbf4c0 into python:master Feb 21, 2021
@freundTech freundTech deleted the fix-runtests-subprocess branch February 22, 2021 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants