Commit d26b658f authored by Georg Brandl's avatar Georg Brandl

Graft a89d654adaa2 from 3.2 branch. Fixes #15620.

parents 2d639d56 f8b9dfd9
...@@ -12,6 +12,10 @@ from test.test_support import run_unittest, import_module ...@@ -12,6 +12,10 @@ from test.test_support import run_unittest, import_module
readline = import_module('readline') readline = import_module('readline')
class TestHistoryManipulation (unittest.TestCase): class TestHistoryManipulation (unittest.TestCase):
@unittest.skipIf(not hasattr(readline, 'clear_history'),
"The history update test cannot be run because the "
"clear_history method is not available.")
def testHistoryUpdates(self): def testHistoryUpdates(self):
readline.clear_history() readline.clear_history()
......
...@@ -74,6 +74,7 @@ Eric Beser ...@@ -74,6 +74,7 @@ Eric Beser
Steven Bethard Steven Bethard
Stephen Bevan Stephen Bevan
Ron Bickers Ron Bickers
Natalia B. Bidart
David Binger David Binger
Dominic Binks Dominic Binks
Philippe Biondi Philippe Biondi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment