summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-08-19 14:59:01 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-08-19 14:59:01 (GMT)
commit53926f19cd205af02b7b064f30adef9c1f00f6da (patch)
treea45d014792ec18afeb2077f896db6f38c7de49ea /Lib/test
parentc01e766b54700ed4140c0d414a1e6c957b461519 (diff)
downloadcpython-53926f19cd205af02b7b064f30adef9c1f00f6da.zip
cpython-53926f19cd205af02b7b064f30adef9c1f00f6da.tar.gz
cpython-53926f19cd205af02b7b064f30adef9c1f00f6da.tar.bz2
Issue #27801: Skip test_update_lines_cols when update_lines_cols() is not available
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_curses.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 87c536f..d020fd2 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