This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients chris.jerdonek, vstinner
Date 2012-09-22.00:45:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348274714.87.0.492844231147.issue16000@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-09-22 00:45:14chris.jerdoneksetrecipients: + chris.jerdonek, vstinner
2012-09-22 00:45:14chris.jerdoneksetmessageid: <1348274714.87.0.492844231147.issue16000@psf.upfronthosting.co.za>
2012-09-22 00:45:14chris.jerdoneklinkissue16000 messages
2012-09-22 00:45:10chris.jerdonekcreate