[Python-checkins] cpython: Issue #20358: Tests for curses.window.overlay and curses.window.overwrite

larry.hastings python-checkins at python.org
Sun Jan 26 07:20:18 CET 2014


http://hg.python.org/cpython/rev/0ae768637a07
changeset:   88722:0ae768637a07
user:        Larry Hastings <larry at hastings.org>
date:        Sat Jan 25 22:19:47 2014 -0800
summary:
  Issue #20358: Tests for curses.window.overlay and curses.window.overwrite
no longer specify min{row,col} > max{row,col}.

files:
  Lib/test/test_curses.py |  4 ++--
  Misc/NEWS               |  3 +++
  2 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -115,8 +115,8 @@
     stdscr.notimeout(1)
     win2.overlay(win)
     win2.overwrite(win)
-    win2.overlay(win, 1, 2, 3, 3, 2, 1)
-    win2.overwrite(win, 1, 2, 3, 3, 2, 1)
+    win2.overlay(win, 1, 2, 2, 1, 3, 3)
+    win2.overwrite(win, 1, 2, 2, 1, 3, 3)
     stdscr.redrawln(1,2)
 
     stdscr.scrollok(1)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -142,6 +142,9 @@
 Tests
 -----
 
+- Issue #20358: Tests for curses.window.overlay and curses.window.overwrite
+  no longer specify min{row,col} > max{row,col}.
+
 - Issue #19886: Use better estimated memory requirements for bigmem tests.
 
 Tools/Demos

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list