summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_curses.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-08-14 01:21:32 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-08-14 01:21:32 (GMT)
commitc0654d4e60a534b51db8c6e857d4a671237c2463 (patch)
tree5876a0d664392a3837c5614832f4e860cf254f66 /Lib/test/test_curses.py
parent7bc44302a0826d68073aefa7522ac7871959e949 (diff)
parentf17a8e9acd6f4b9056f412595ffdbaf8e4c5b7ec (diff)
downloadcpython-c0654d4e60a534b51db8c6e857d4a671237c2463.zip
cpython-c0654d4e60a534b51db8c6e857d4a671237c2463.tar.gz
cpython-c0654d4e60a534b51db8c6e857d4a671237c2463.tar.bz2
merge 3.5
Diffstat (limited to 'Lib/test/test_curses.py')
-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"