Commit Graph

2 Commits (ca54b7b26d2f3d1d4147f1cb6ac07ecfe7f5b3fb)

Author SHA1 Message Date
Matt Clay 25d859f8fb
Clean up unused imports in unit tests (#79893) 2 years ago
Sam Doran 55b401a3e7
pause - ensure control characters are always set appropriately (#74568)
* pause - ensure control characters are always set appropriately

On some systems, curses.tigetstr() returns None, which does not work as a control character.

* Add unit tests

* Sort imports

* Skip on older Python

This is an action plugin and only runs on the controller, so no need to test of Python 2. Making
the import hackery work on Python 2 would required some more work which I am not sure is
worth it since we are moving away from Python 2 support on the controller.

* Make the tests work on Python 2 and 3
4 years ago