[Python-checkins] cpython (3.5): Issue #27801: Skip test_update_lines_cols when update_lines_cols() is not

berker.peksag python-checkins at python.org
Fri Aug 19 10:58:56 EDT 2016


https://hg.python.org/cpython/rev/51368991e858
changeset:   102754:51368991e858
branch:      3.5
parent:      102750:bd2a4c138b76
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Fri Aug 19 17:59:01 2016 +0300
summary:
  Issue #27801: Skip test_update_lines_cols when update_lines_cols() is not available

files:
  Lib/test/test_curses.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -395,6 +395,7 @@
 
 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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list