-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UnixConsole: raise EOFError in case input_fd is not a TTY
This is required for when the UnixConsole instance was created with stdin being a terminal, but then later not so anymore. E.g. having used pdbpp before pytest captures output, and then having a set_trace where pytest is capturing output, but the debugging plugin (which suspends capturing) is not active yet (pytest_load_initial_conftests). This will result in pdb raising `BdbQuit` then "correctly".
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters