From: Mark Dickinson Date: Sat, 7 Aug 2010 12:33:36 +0000 (+0000) Subject: Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses. X-Git-Tag: v3.2a2~439 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af43e9a288b98c6434ce3ee6fc2b9eb766775774;p=python Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses. --- diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 302ddb9bda..b9ff34644b 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -220,8 +220,8 @@ def module_funcs(stdscr): if availmask != 0: curses.mouseinterval(10) # just verify these don't cause errors + curses.ungetmouse(0, 0, 0, 0, curses.BUTTON1_PRESSED) m = curses.getmouse() - curses.ungetmouse(*m) if hasattr(curses, 'is_term_resized'): curses.is_term_resized(*stdscr.getmaxyx()) diff --git a/Misc/NEWS b/Misc/NEWS index d354645410..4f99d70674 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -126,6 +126,8 @@ Tools/Demos Tests ----- +- Issue #8433: Fix test_curses failure with newer versions of ncurses. + - Issue #9496: Provide a test suite for the rlcompleter module. Patch by Michele Orrù.