mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-43659: Fix test_curses on AIX (GH-25074)
curses.update_lines_cols() is only defined when the curses library provides either resizeterm() or resize_term() functions which are optional and are not provided on AIX.
This commit is contained in:
parent
32430aadad
commit
c8b5738810
1 changed files with 1 additions and 0 deletions
|
|
@ -1174,6 +1174,7 @@ class TestCurses(unittest.TestCase):
|
|||
|
||||
class MiscTests(unittest.TestCase):
|
||||
|
||||
@requires_curses_func('update_lines_cols')
|
||||
def test_update_lines_cols(self):
|
||||
curses.update_lines_cols()
|
||||
lines, cols = curses.LINES, curses.COLS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue