mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
merge 3.4
This commit is contained in:
commit
12abc86903
1 changed files with 3 additions and 3 deletions
|
@ -17,9 +17,9 @@ class TestHistoryManipulation (unittest.TestCase):
|
||||||
why the tests cover only a small subset of the interface.
|
why the tests cover only a small subset of the interface.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@unittest.skipIf(not hasattr(readline, 'clear_history'),
|
@unittest.skipUnless(hasattr(readline, "clear_history"),
|
||||||
"The history update test cannot be run because the "
|
"The history update test cannot be run because the "
|
||||||
"clear_history method is not available.")
|
"clear_history method is not available.")
|
||||||
def testHistoryUpdates(self):
|
def testHistoryUpdates(self):
|
||||||
readline.clear_history()
|
readline.clear_history()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue