Revert 961a15aff2a6, this is already checked in another way.
This commit is contained in:
parent
22bfa37ed0
commit
7b250a5cff
|
@ -17,9 +17,7 @@ class TestHistoryManipulation (unittest.TestCase):
|
||||||
"The history update test cannot be run because the "
|
"The history update test cannot be run because the "
|
||||||
"clear_history method is not available.")
|
"clear_history method is not available.")
|
||||||
def testHistoryUpdates(self):
|
def testHistoryUpdates(self):
|
||||||
# Some GNU versions of readline do not support clear_history
|
readline.clear_history()
|
||||||
if hasattr('readline', 'clear_history'):
|
|
||||||
readline.clear_history()
|
|
||||||
|
|
||||||
readline.add_history("first line")
|
readline.add_history("first line")
|
||||||
readline.add_history("second line")
|
readline.add_history("second line")
|
||||||
|
|
Loading…
Reference in New Issue