mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #4254: Adds _curses.update_lines_cols() Patch by Arnon Yaari
This commit is contained in:
parent
9abe04975a
commit
d2bc389e55
5 changed files with 31 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue