]> granicus.if.org Git - python/commitdiff
Issue #27801: Skip test_update_lines_cols when update_lines_cols() is not available
authorBerker Peksag <berker.peksag@gmail.com>
Fri, 19 Aug 2016 14:59:01 +0000 (17:59 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Fri, 19 Aug 2016 14:59:01 +0000 (17:59 +0300)
Lib/test/test_curses.py

index 87c536f0e07227b93ec3c143c3e9c313b7df4f58..d020fd2ccabde22051696388587280b26854b016 100644 (file)
@@ -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