Skip to content

Commit e9092b2

Browse files
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. (cherry picked from commit c8b5738) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
1 parent dae1963 commit e9092b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_curses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,7 @@ def test_issue13051(self):
11511151

11521152
class MiscTests(unittest.TestCase):
11531153

1154+
@requires_curses_func('update_lines_cols')
11541155
def test_update_lines_cols(self):
11551156
curses.update_lines_cols()
11561157
lines, cols = curses.LINES, curses.COLS

0 commit comments

Comments
 (0)