From: Larry Hastings <larry@hastings.org>
Date: Sun, 26 Jan 2014 06:19:47 +0000 (-0800)
Subject: Issue #20358: Tests for curses.window.overlay and curses.window.overwrite
X-Git-Tag: v3.4.0b3~2
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23e37aa7b787fd41623c4f3f1eb7ca16ded2ef96;p=python

Issue #20358: Tests for curses.window.overlay and curses.window.overwrite
no longer specify min{row,col} > max{row,col}.
---

diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 7310afc995..ce8f254bbb 100644
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -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)
diff --git a/Misc/NEWS b/Misc/NEWS
index 2f7bdaeb9e..c248d7c4a3 100644
--- 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