I find 2 bugs in test_curses.py 1) in line 110 setscrreg(10,15) - cursor mast place in line10-15 2) in line 181 pair_content(curses.COLOR_PAIRS) - argument pair_content mast by less COLOR_PAIRS constant
Logged In: YES user_id=11375 Patch applied to both HEAD and 2.4-maint branches; thanks for reporting this! In fact, fixing the pair_content() test turned up another bug; the C extension was getting the error check on pair_content() backwards.