summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-08-14 01:21:16 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-08-14 01:21:16 (GMT)
commitf17a8e9acd6f4b9056f412595ffdbaf8e4c5b7ec (patch)
treefa22d3d0a142786587fdfd0ccd5d871b3809f333 /Lib
parent9745ee0b444c92a23a1b8851f789044baa64dba5 (diff)
parent40a77c33819606b40ca04f680a06fcf31e2151a6 (diff)
downloadcpython-f17a8e9acd6f4b9056f412595ffdbaf8e4c5b7ec.zip
cpython-f17a8e9acd6f4b9056f412595ffdbaf8e4c5b7ec.tar.gz
cpython-f17a8e9acd6f4b9056f412595ffdbaf8e4c5b7ec.tar.bz2
merge 3.4
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_curses.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 897d738..6bbb3fc 100644
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -188,6 +188,9 @@ class TestCurses(unittest.TestCase):
if hasattr(curses, 'enclose'):
stdscr.enclose()
+ self.assertRaises(ValueError, stdscr.getstr, -400)
+ self.assertRaises(ValueError, stdscr.getstr, 2, 3, -400)
+
def test_module_funcs(self):
"Test module-level functions"