diff options
| author | R David Murray <rdmurray@bitdance.com> | 2011-03-14 17:14:29 -0400 |
|---|---|---|
| committer | R David Murray <rdmurray@bitdance.com> | 2011-03-14 17:14:29 -0400 |
| commit | 750beda5353e3433df3978b6e9e3d57b6253e066 (patch) | |
| tree | a84d545867b9582ed97aec64ea1d35a3f8ea49c8 /Lib | |
| parent | 30bb6e036053565bdbc336175d0433b128f6cd29 (diff) | |
| parent | f8b9dfd9a1a3d611d43e3c3ef8031fed96c8dd25 (diff) | |
| download | cpython-git-750beda5353e3433df3978b6e9e3d57b6253e066.tar.gz | |
Merge #11496 from 3.2.
Diffstat (limited to 'Lib')
| -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 5f5a90ac62..5483dd31b8 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() |
