mirror of
https://github.com/python/cpython.git
synced 2026-03-06 13:00:50 +00:00
#11496: skip history test if clear_history is not available.
Patch by Natalia B. Bidart.
This commit is contained in:
parent
525c25d42f
commit
f8b9dfd9a1
2 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,10 @@
|
|||
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()
|
||||
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ Eric Beser
|
|||
Steven Bethard
|
||||
Stephen Bevan
|
||||
Ron Bickers
|
||||
Natalia B. Bidart
|
||||
Adrian von Bidder
|
||||
David Binger
|
||||
Dominic Binks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue