Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 12abc86

Browse files
committed
merge 3.4
2 parents d1e22ba + 5b53507 commit 12abc86

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/test/test_readline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ class TestHistoryManipulation (unittest.TestCase):
1717
why the tests cover only a small subset of the interface.
1818
"""
1919

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.")
20+
@unittest.skipUnless(hasattr(readline, "clear_history"),
21+
"The history update test cannot be run because the "
22+
"clear_history method is not available.")
2323
def testHistoryUpdates(self):
2424
readline.clear_history()
2525

0 commit comments

Comments
 (0)