[Python-checkins] cpython (3.2): Revert 961a15aff2a6, this is already checked in another way.
georg.brandl
python-checkins at python.org
Sat Aug 11 11:02:09 CEST 2012
http://hg.python.org/cpython/rev/e9e9f3e46148
changeset: 78500:e9e9f3e46148
branch: 3.2
parent: 78498:961a15aff2a6
user: Georg Brandl <georg at python.org>
date: Sat Aug 11 11:02:14 2012 +0200
summary:
Revert 961a15aff2a6, this is already checked in another way.
files:
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
--- 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")
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list