summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_curses.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-04-15 22:06:05 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-04-15 22:06:05 (GMT)
commitd2bc389e550464e3f71ec60071880335e8f9b6c6 (patch)
treeff1e0fd7f6231e3ccf09ca699de88618abd2ddf7 /Lib/test/test_curses.py
parent9abe04975a1948f85c16896dcd68e7cf26bb593e (diff)
downloadcpython-d2bc389e550464e3f71ec60071880335e8f9b6c6.zip
cpython-d2bc389e550464e3f71ec60071880335e8f9b6c6.tar.gz
cpython-d2bc389e550464e3f71ec60071880335e8f9b6c6.tar.bz2
Issue #4254: Adds _curses.update_lines_cols() Patch by Arnon Yaari
Diffstat (limited to 'Lib/test/test_curses.py')
-rw-r--r--Lib/test/test_curses.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index bd7d4fc..2747041 100644
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -370,6 +370,13 @@ class TestCurses(unittest.TestCase):
offset = human_readable_signature.find("[y, x,]")
assert offset >= 0, ""
+ def test_update_lines_cols(self):
+ # this doesn't actually test that LINES and COLS are updated,
+ # because we can't automate changing them. See Issue #4254 for
+ # a manual test script. We can only test that the function
+ # can be called.
+ curses.update_lines_cols()
+
if __name__ == '__main__':
unittest.main()