diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-11-26 20:36:08 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-11-26 20:36:08 (GMT) |
commit | 12abc86903d7393c9e8d6c9a3dbc8100dbdee02b (patch) | |
tree | e2a1caa2eab57587fcb346dc6c21a067924a9822 /Lib/test/test_readline.py | |
parent | d1e22ba7db9d8668c486eb77999bbbbdca8b09d3 (diff) | |
parent | 5b5350787f802c71907e12768ee1ecce56b68c3f (diff) | |
download | cpython-12abc86903d7393c9e8d6c9a3dbc8100dbdee02b.zip cpython-12abc86903d7393c9e8d6c9a3dbc8100dbdee02b.tar.gz cpython-12abc86903d7393c9e8d6c9a3dbc8100dbdee02b.tar.bz2 |
merge 3.4
Diffstat (limited to 'Lib/test/test_readline.py')
-rw-r--r-- | Lib/test/test_readline.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py index 804887a..90dcdf2 100644 --- a/Lib/test/test_readline.py +++ b/Lib/test/test_readline.py @@ -17,9 +17,9 @@ class TestHistoryManipulation (unittest.TestCase): why the tests cover only a small subset of the interface. """ - @unittest.skipIf(not hasattr(readline, 'clear_history'), - "The history update test cannot be run because the " - "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.") def testHistoryUpdates(self): readline.clear_history() |