diff options
| author | Georg Brandl <georg@python.org> | 2012-08-11 11:02:23 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2012-08-11 11:02:23 +0200 |
| commit | 826d5707799434a78beec02306be9b83e7af62ce (patch) | |
| tree | 797ec34ae1eead5f8003ba7680b1d80ecb2a4bae | |
| parent | 68fad6fb377db515f536943910895302900caa82 (diff) | |
| parent | 7b250a5cffe1075ead51d8b46948f7bf169c07fe (diff) | |
| download | cpython-git-826d5707799434a78beec02306be9b83e7af62ce.tar.gz | |
Merge with 3.2.
| -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") |
