From b687f53ba563fa39621c184d99b48c8d4381a912 Mon Sep 17 00:00:00 2001 From: M Felt aka aixtools Date: Mon, 29 Mar 2021 17:37:19 +0000 Subject: [PATCH] AIX: the default libcurses.a provided by base AIX does not include support for `curses.update_lines_cols()`. This patch permits the test_curses to skip a test that requires `curses.update_lines_cols()` support. --- Lib/test/test_curses.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 0833c86115ebd9..7ce0461ab54f2d 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -1174,6 +1174,7 @@ def test_issue13051(self): 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