summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-26 06:19:47 (GMT)
committerLarry Hastings <larry@hastings.org>2014-01-26 06:19:47 (GMT)
commit23e37aa7b787fd41623c4f3f1eb7ca16ded2ef96 (patch)
treedadb54e005af14c88bc7fe1968d9d09ca873ed40
parentf0537e8d1c9f070d094425b9bf824756fc9498f8 (diff)
downloadcpython-23e37aa7b787fd41623c4f3f1eb7ca16ded2ef96.zip
cpython-23e37aa7b787fd41623c4f3f1eb7ca16ded2ef96.tar.gz
cpython-23e37aa7b787fd41623c4f3f1eb7ca16ded2ef96.tar.bz2
Issue #20358: Tests for curses.window.overlay and curses.window.overwrite
no longer specify min{row,col} > max{row,col}.
-rw-r--r--Lib/test/test_curses.py4
-rw-r--r--Misc/NEWS3
2 files changed, 5 insertions, 2 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 7310afc..ce8f254 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 2f7bdae..c248d7c 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