diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-01 14:03:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 14:03:40 (GMT) |
commit | 7e68790f3db75a893d5dd336e6201a63bc70212b (patch) | |
tree | 9b1e903a89d10dd46e60017332408da4f80e1871 /Lib/test | |
parent | d1e34031f68a3c7523a5376575c87cd0fea2425c (diff) | |
download | cpython-7e68790f3db75a893d5dd336e6201a63bc70212b.zip cpython-7e68790f3db75a893d5dd336e6201a63bc70212b.tar.gz cpython-7e68790f3db75a893d5dd336e6201a63bc70212b.tar.bz2 |
bpo-15037: Add a workaround for getkey() in curses for ncurses 5.7 and earlier. (#3826)
Skip a test for unget_wch()/get_wch() on OpenBSD since they are broken
in ncurses 5.7.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_curses.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 514ed83..8bb6630 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -359,6 +359,9 @@ class TestCurses(unittest.TestCase): self.stdscr.getkey() @requires_curses_func('unget_wch') + # XXX Remove the decorator when ncurses on OpenBSD be updated + @unittest.skipIf(sys.platform.startswith("openbsd"), + "OpenBSD's curses (v.5.7) has bugs") def test_unget_wch(self): stdscr = self.stdscr encoding = stdscr.encoding |