summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_curses.py
diff options
context:
space:
mode:
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())