mirror of
https://github.com/python/cpython.git
synced 2025-10-13 18:33:34 +00:00
Graft a89d654adaa2 from 3.2 branch. Fixes #15620.
This commit is contained in:
commit
d26b658f14
2 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,10 @@ from test.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()
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@ Eric Beser
|
|||
Steven Bethard
|
||||
Stephen Bevan
|
||||
Ron Bickers
|
||||
Natalia B. Bidart
|
||||
David Binger
|
||||
Dominic Binks
|
||||
Philippe Biondi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue