Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/test_terminal.py: Ensure terminal state is restored at end of test
test_save, test_save_and_restore_with_dict: Ensure that we restore the terminal state at the end of each test, as other tests rely on a clean state to start. Previously, the tests would work the first time but fail if re-run. test_save: also compare self.terminal.orig_flags to the current terminal flags, as opposed to a copy of itself (which would always pass) Fixes LP: #1817660
- Loading branch information