Issue #4254: Adds _curses.update_lines_cols() Patch by Arnon Yaari

This commit is contained in:
Steve Dower 2015-04-15 18:06:05 -04:00
parent 9abe04975a
commit d2bc389e55
5 changed files with 31 additions and 0 deletions

View file

@ -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()