From: Georg Brandl Date: Sat, 11 Aug 2012 09:02:14 +0000 (+0200) Subject: Revert 961a15aff2a6, this is already checked in another way. X-Git-Tag: v3.3.0rc1~149^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b250a5cffe1075ead51d8b46948f7bf169c07fe;p=thirdparty%2FPython%2Fcpython.git Revert 961a15aff2a6, this is already checked in another way. --- diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py index fe74939026ca..5483dd31b805 100644 --- a/Lib/test/test_readline.py +++ b/Lib/test/test_readline.py @@ -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")