Skip to content
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

feat: remove xprocess from the tests #2908

Closed
wants to merge 17 commits into from
Closed

feat: remove xprocess from the tests #2908

wants to merge 17 commits into from

Conversation

sp6370
Copy link
Contributor

@sp6370 sp6370 commented May 20, 2024

Fix: #2906

@davidism
Copy link
Member

davidism commented May 21, 2024

Found that passing -u to python will allow using p.stdout.readline() without waiting for the whole process to finish. I also tried passing bufsize=0 to Popen but that didn't work.

subprocess.Popen([sys.executable, "-u", "run.py", ...], ...)

@davidism
Copy link
Member

continued in #2963

@davidism davidism closed this Oct 27, 2024
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.

replace pytest-xprocess
2 participants