diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2005-06-15 18:44:23 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2005-06-15 18:44:23 (GMT) |
commit | d1badac99c01aeb15a261d262fff1c402c4f24e9 (patch) | |
tree | e2366380e55d020cc94ccbfae0b31cbcffa3d0fc /Lib/test | |
parent | ed65c3ad7699f33006c902c05f51cdd93421b193 (diff) | |
download | cpython-d1badac99c01aeb15a261d262fff1c402c4f24e9.zip cpython-d1badac99c01aeb15a261d262fff1c402c4f24e9.tar.gz cpython-d1badac99c01aeb15a261d262fff1c402c4f24e9.tar.bz2 |
[Patch #1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_curses.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index fa57e29..67f3c57 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -107,6 +107,7 @@ def window_funcs(stdscr): 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 @@ def module_funcs(stdscr): 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'): |