Message170941
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. |
|
Date |
User |
Action |
Args |
2012-09-22 00:45:14 | chris.jerdonek | set | recipients:
+ chris.jerdonek, vstinner |
2012-09-22 00:45:14 | chris.jerdonek | set | messageid: <1348274714.87.0.492844231147.issue16000@psf.upfronthosting.co.za> |
2012-09-22 00:45:14 | chris.jerdonek | link | issue16000 messages |
2012-09-22 00:45:10 | chris.jerdonek | create | |
|