Chris Jerdonek added the comment: Here is an initial patch for discussion. As I started to say in my previous comment, I think it would be worth settling on the wiring (e.g. setUp/tearDown/etc) before trying to do more.
Some comments on the current patch: (1) Of the following methods, it's not clear to me which should go in setUpModule(), setUpClass(), and setUp(): curses.setupterm(), curses.initscr(), and curses.savetty(). (2) When running the tests using "__main__" or from regrtest in verbose mode, there is a slight rendering glitch in that the "ok" prints over the beginning of the output line instead of appending to the end: $ ./python.exe Lib/test/test_curses.py okst_issue10570 (__main__.CursesTestCase) ... okst_issue6243 (__main__.CursesTestCase) ... ---------------------------------------------------------------------- Ran 2 tests in 0.005s OK I'm not sure how important it is to make that work perfectly. Using regrtest in normal mode, there are no rendering defects that I see. ---------- keywords: +needs review, patch stage: -> patch review Added file: http://bugs.python.org/file27255/issue-16000-1.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16000> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com