Skip to content
Snippets Groups Projects
Commit ea66c31baeb8 authored by R David Murray's avatar R David Murray
Browse files

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

Patch by Natalia B. Bidart.
parent ba8828cdb5ee
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,10 @@
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 @@
Steven Bethard
Stephen Bevan
Ron Bickers
Natalia B. Bidart
Adrian von Bidder
David Binger
Dominic Binks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment