Revert 961a15aff2a6, this is already checked in another way.

This commit is contained in:
Georg Brandl 2012-08-11 11:02:14 +02:00
parent 22bfa37ed0
commit 7b250a5cff
1 changed files with 1 additions and 3 deletions

View File

@ -17,9 +17,7 @@ class TestHistoryManipulation (unittest.TestCase):
"The history update test cannot be run because the "
"clear_history method is not available.")
def testHistoryUpdates(self):
# Some GNU versions of readline do not support clear_history
if hasattr('readline', 'clear_history'):
readline.clear_history()
readline.clear_history()
readline.add_history("first line")
readline.add_history("second line")