summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-08-07 13:05:49 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-08-07 13:05:49 (GMT)
commit998308b75a87387572d8d0497f73eb8b34763e1a (patch)
treeaedba8113ae9e831a4dd8bce2c9ea0330a690b3a
parent80cd4bff53fab28a15fef40e2479a455aa5b400e (diff)
downloadcpython-998308b75a87387572d8d0497f73eb8b34763e1a.zip
cpython-998308b75a87387572d8d0497f73eb8b34763e1a.tar.gz
cpython-998308b75a87387572d8d0497f73eb8b34763e1a.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. ........
-rw-r--r--Lib/test/test_curses.py2
-rw-r--r--Misc/NEWS2
2 files changed, 3 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())
diff --git a/Misc/NEWS b/Misc/NEWS
index d8c79c2..aceb158 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -446,6 +446,8 @@ Build
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Ă¹.