summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2017-01-06 08:50:27 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2017-01-06 08:50:27 (GMT)
commit645bc80918e6e500bca5652b39175923dd19099f (patch)
tree6ab8acaf6cfa5c0425070710cd186fa6f7242318 /Lib/test
parent1d54b114c5f0400710c425a30555a5cb7cc0db71 (diff)
downloadcpython-645bc80918e6e500bca5652b39175923dd19099f.zip
cpython-645bc80918e6e500bca5652b39175923dd19099f.tar.gz
cpython-645bc80918e6e500bca5652b39175923dd19099f.tar.bz2
test_curses - substitute self.skip() with self.skipTest()
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_curses.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 14ba87f..3d8c50b 100644
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -244,7 +244,7 @@ class TestCurses(unittest.TestCase):
# Functions only available on a few platforms
def test_colors_funcs(self):
if not curses.has_colors():
- self.skip('requires colors support')
+ self.skipTest('requires colors support')
curses.start_color()
curses.init_pair(2, 1,1)
curses.color_content(1)
@@ -267,7 +267,7 @@ class TestCurses(unittest.TestCase):
def test_getmouse(self):
(availmask, oldmask) = curses.mousemask(curses.BUTTON1_PRESSED)
if availmask == 0:
- self.skip('mouse stuff not available')
+ self.skipTest('mouse stuff not available')
curses.mouseinterval(10)
# just verify these don't cause errors
curses.ungetmouse(0, 0, 0, 0, curses.BUTTON1_PRESSED)