diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-03-14 21:14:29 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-03-14 21:14:29 (GMT) |
commit | 750beda5353e3433df3978b6e9e3d57b6253e066 (patch) | |
tree | a84d545867b9582ed97aec64ea1d35a3f8ea49c8 | |
parent | 30bb6e036053565bdbc336175d0433b128f6cd29 (diff) | |
parent | f8b9dfd9a1a3d611d43e3c3ef8031fed96c8dd25 (diff) | |
download | cpython-750beda5353e3433df3978b6e9e3d57b6253e066.zip cpython-750beda5353e3433df3978b6e9e3d57b6253e066.tar.gz cpython-750beda5353e3433df3978b6e9e3d57b6253e066.tar.bz2 |
Merge #11496 from 3.2.
-rw-r--r-- | Lib/test/test_readline.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py index 5f5a90a..5483dd3 100644 --- a/Lib/test/test_readline.py +++ b/Lib/test/test_readline.py @@ -12,6 +12,10 @@ from test.support import run_unittest, import_module readline = import_module('readline') class TestHistoryManipulation (unittest.TestCase): + + @unittest.skipIf(not hasattr(readline, 'clear_history'), + "The history update test cannot be run because the " + "clear_history method is not available.") def testHistoryUpdates(self): readline.clear_history() |