-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
subprocess tests hang #2023
Comments
I think this bug is not critical because this bug based on pytest tests itself. The problem is based on insufficient encapsulation for running subprocess. So I think this isn't a critical bug. The problem based on
And we are there! The pdb presents an interactive debug environment because it got a standard terminal as Demo time
FixShould set the |
The debugging.py calls post_mortem() on error and pdb will drops an interactive debugger when the stdin is a readable fd.
The debugging.py calls post_mortem() on error and pdb will drops an interactive debugger when the stdin is a readable fd.
The debugging.py calls post_mortem() on error and pdb will drops an interactive debugger when the stdin is a readable fd.
The debugging.py calls post_mortem() on error and pdb will drops an interactive debugger when the stdin is a readable fd.
Avoid interactive pdb when pytest tests itself - fix #2023
While working out a solution for #2022, I discovered a different issue with a subprocess test hanging when
-s
is passed to pytest.Omit the
-s
from the test run, and the test passes just fine.The text was updated successfully, but these errors were encountered: