From: Berker Peksag Date: Fri, 19 Aug 2016 14:59:01 +0000 (+0300) Subject: Issue #27801: Skip test_update_lines_cols when update_lines_cols() is not available X-Git-Tag: v3.6.0b1~665^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53926f19cd205af02b7b064f30adef9c1f00f6da;p=python Issue #27801: Skip test_update_lines_cols when update_lines_cols() is not available --- diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 87c536f0e0..d020fd2cca 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -395,6 +395,7 @@ class TestCurses(unittest.TestCase): class MiscTests(unittest.TestCase): + @requires_curses_func('update_lines_cols') 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