]> granicus.if.org Git - python/commitdiff
Issue #20358: Tests for curses.window.overlay and curses.window.overwrite
authorLarry Hastings <larry@hastings.org>
Sun, 26 Jan 2014 06:19:47 +0000 (22:19 -0800)
committerLarry Hastings <larry@hastings.org>
Sun, 26 Jan 2014 06:19:47 +0000 (22:19 -0800)
no longer specify min{row,col} > max{row,col}.

Lib/test/test_curses.py
Misc/NEWS

index 7310afc9958f91a99f6fe62c8bd69394d44dcedb..ce8f254bbbd32305499269f5f23c46b271c500c5 100644 (file)
@@ -115,8 +115,8 @@ def window_funcs(stdscr):
     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)
index 2f7bdaeb9eb11f9714f9115ccdf707683c957331..c248d7c4a391e3d52113a39f6fe020f81d5ae912 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -142,6 +142,9 @@ IDLE
 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