subprocess tests hang #2023
Closed
subprocess tests hang #2023
Labels
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 |
andras-tim
added a commit
to andras-tim/pytest
that referenced
this issue
Jul 16, 2017
The debugging.py calls post_mortem() on error and pdb will drops an interactive debugger when the stdin is a readable fd.
andras-tim
added a commit
to andras-tim/pytest
that referenced
this issue
Jul 16, 2017
The debugging.py calls post_mortem() on error and pdb will drops an interactive debugger when the stdin is a readable fd.
andras-tim
added a commit
to andras-tim/pytest
that referenced
this issue
Jul 17, 2017
The debugging.py calls post_mortem() on error and pdb will drops an interactive debugger when the stdin is a readable fd.
andras-tim
added a commit
to andras-tim/pytest
that referenced
this issue
Jul 21, 2017
The debugging.py calls post_mortem() on error and pdb will drops an interactive debugger when the stdin is a readable fd.
nicoddemus
added a commit
that referenced
this issue
Jul 26, 2017
Avoid interactive pdb when pytest tests itself - fix #2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: