Comment 0 for bug 1817660

Revision history for this message
Trent Lloyd (lathiat) wrote :

Several tests related setting terminal flags in test_terminal.TestTerminal fail when run a second time on the same terminal. They succeed the first time, then fail until you open a new terminal or SSH session.

The cause appears to be that multiple tests such as test_save and test_save_and_restore_with_dict do not restore the terminal back to it's original clean state (O_NONBLOCK is left enabled) because the calls to .save() mean that .reset() restores back to that saved state.