diff options
author | Georg Brandl <georg@python.org> | 2012-08-11 11:02:14 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-08-11 11:02:14 +0200 |
commit | 1405c7420e738446e74d65001265b23c05ac7bde (patch) | |
tree | f8f1d7f58c9ed8b65881dd263fec99fec968e448 /Lib/test/test_readline.py | |
parent | 8dba848c5d33ec5cc9eab0afa70b78fa2683a225 (diff) | |
download | cpython-1405c7420e738446e74d65001265b23c05ac7bde.tar.gz |
Revert 961a15aff2a6, this is already checked in another way.
Diffstat (limited to 'Lib/test/test_readline.py')
-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 fe74939026..5483dd31b8 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") |