[Python-checkins] python/dist/src/Lib/test test_curses.py, 1.8, 1.8.2.1
akuchling@users.sourceforge.net
akuchling at users.sourceforge.net
Wed Jun 15 20:45:37 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16177
Modified Files:
Tag: release24-maint
test_curses.py
Log Message:
[Patch #1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite
Index: test_curses.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_curses.py,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- test_curses.py 7 Aug 2004 15:27:16 -0000 1.8
+++ test_curses.py 15 Jun 2005 18:45:27 -0000 1.8.2.1
@@ -107,6 +107,7 @@
stdscr.scroll(2)
stdscr.scroll(-3)
+ stdscr.move(12, 2)
stdscr.setscrreg(10,15)
win3 = stdscr.subwin(10,10)
win3 = stdscr.subwin(10,10, 5,5)
@@ -179,7 +180,7 @@
curses.init_pair(2, 1,1)
curses.color_content(1)
curses.color_pair(2)
- curses.pair_content(curses.COLOR_PAIRS)
+ curses.pair_content(curses.COLOR_PAIRS - 1)
curses.pair_number(0)
if hasattr(curses, 'use_default_colors'):
More information about the Python-checkins
mailing list