Commit af43e9a2 authored by Mark Dickinson's avatar Mark Dickinson

Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses.

parent a62207c5
...@@ -220,8 +220,8 @@ def module_funcs(stdscr): ...@@ -220,8 +220,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())
......
...@@ -126,6 +126,8 @@ Tools/Demos ...@@ -126,6 +126,8 @@ Tools/Demos
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ù.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment