summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-08-07 12:33:36 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-08-07 12:33:36 (GMT)
commitaf43e9a288b98c6434ce3ee6fc2b9eb766775774 (patch)
treecdb0605a50318e4e10617a14b0491382713bb786 /Lib
parenta62207c5847948b83d698b5fb4b2c1a03434a5a6 (diff)
downloadcpython-af43e9a288b98c6434ce3ee6fc2b9eb766775774.zip
cpython-af43e9a288b98c6434ce3ee6fc2b9eb766775774.tar.gz
cpython-af43e9a288b98c6434ce3ee6fc2b9eb766775774.tar.bz2
Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_curses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 302ddb9..b9ff346 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())