Commit f8b9dfd9 authored by R David Murray's avatar R David Murray

#11496: skip history test if clear_history is not available.

Patch by Natalia B. Bidart.
parent 525c25d4
......@@ -12,6 +12,10 @@ from test.support import run_unittest, import_module
readline = import_module('readline')
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):
readline.clear_history()
......
......@@ -79,6 +79,7 @@ Eric Beser
Steven Bethard
Stephen Bevan
Ron Bickers
Natalia B. Bidart
Adrian von Bidder
David Binger
Dominic Binks
......
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