Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1e22ba + 5b53507 commit 12abc86Copy full SHA for 12abc86
1 file changed
Lib/test/test_readline.py
@@ -17,9 +17,9 @@ class TestHistoryManipulation (unittest.TestCase):
17
why the tests cover only a small subset of the interface.
18
"""
19
20
- @unittest.skipIf(not hasattr(readline, 'clear_history'),
21
- "The history update test cannot be run because the "
22
- "clear_history method is not available.")
+ @unittest.skipUnless(hasattr(readline, "clear_history"),
+ "The history update test cannot be run because the "
+ "clear_history method is not available.")
23
def testHistoryUpdates(self):
24
readline.clear_history()
25
0 commit comments