diff options
author | Georg Brandl <georg@python.org> | 2012-08-11 09:02:14 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-08-11 09:02:14 (GMT) |
commit | 7b250a5cffe1075ead51d8b46948f7bf169c07fe (patch) | |
tree | 3921b2fba6e6e96ecf6a848296cc2e15190f669b /Lib | |
parent | 22bfa37ed06e829bbc2e6a247648693983e2be57 (diff) | |
download | cpython-7b250a5cffe1075ead51d8b46948f7bf169c07fe.zip cpython-7b250a5cffe1075ead51d8b46948f7bf169c07fe.tar.gz cpython-7b250a5cffe1075ead51d8b46948f7bf169c07fe.tar.bz2 |
Revert 961a15aff2a6, this is already checked in another way.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_readline.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 @@ 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") |