Merge #11496 from 3.2.

This commit is contained in:
R David Murray 2011-03-14 17:14:29 -04:00
commit 750beda535
1 changed files with 4 additions and 0 deletions

View File

@ -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()