Merged revisions 83780 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83780 | mark.dickinson | 2010-08-07 13:33:36 +0100 (Sat, 07 Aug 2010) | 1 line

  Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses.
........
This commit is contained in:
Mark Dickinson 2010-08-07 13:07:11 +00:00
parent 9d310d3581
commit 2866933cd6
2 changed files with 3 additions and 1 deletions

View File

@ -218,8 +218,8 @@ def module_funcs(stdscr):
if availmask != 0: if availmask != 0:
curses.mouseinterval(10) curses.mouseinterval(10)
# just verify these don't cause errors # just verify these don't cause errors
curses.ungetmouse(0, 0, 0, 0, curses.BUTTON1_PRESSED)
m = curses.getmouse() m = curses.getmouse()
curses.ungetmouse(*m)
if hasattr(curses, 'is_term_resized'): if hasattr(curses, 'is_term_resized'):
curses.is_term_resized(*stdscr.getmaxyx()) curses.is_term_resized(*stdscr.getmaxyx())

View File

@ -194,6 +194,8 @@ Build
Tests Tests
----- -----
- Issue #8433: Fix test_curses failure with newer versions of ncurses.
- Issue #9496: Provide a test suite for the rlcompleter module. Patch by - Issue #9496: Provide a test suite for the rlcompleter module. Patch by
Michele Orrù. Michele Orrù.