Revert 961a15aff2a6, this is already checked in another way.
diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py
index fe74939..5483dd3 100644
--- a/Lib/test/test_readline.py
+++ b/Lib/test/test_readline.py
@@ -17,9 +17,7 @@
"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")