summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_curses.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-08-07 13:07:11 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-08-07 13:07:11 (GMT)
commit2866933cd63dd32ba2a0ce7f888d765265636b41 (patch)
treec1b76664be069748ab1ce8c642965472b215392b /Lib/test/test_curses.py
parent9d310d3581a226b36b217423c37cc735226bdc64 (diff)
downloadcpython-2866933cd63dd32ba2a0ce7f888d765265636b41.zip
cpython-2866933cd63dd32ba2a0ce7f888d765265636b41.tar.gz
cpython-2866933cd63dd32ba2a0ce7f888d765265636b41.tar.bz2
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. ........
Diffstat (limited to 'Lib/test/test_curses.py')
-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 18d73fc..fa0d469 100644
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -218,8 +218,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())