Issue #19884: Avoid spurious output on OS X with Gnu Readline

Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
This commit is contained in:
Martin Panter 2016-08-27 03:23:11 +00:00
parent cc9afa9b51
commit c427b8d517
3 changed files with 18 additions and 13 deletions

View file

@ -111,7 +111,7 @@ class TestHistoryManipulation (unittest.TestCase):
class TestReadline(unittest.TestCase):
@unittest.skipIf(readline._READLINE_VERSION < 0x0600 and not is_editline,
@unittest.skipIf(readline._READLINE_VERSION < 0x0601 and not is_editline,
"not supported in this library version")
def test_init(self):
# Issue #19884: Ensure that the ANSI sequence "\033[1034h" is not