Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/test/test_readline.py

    r2 r391  
    77"""
    88import unittest
    9 from test.test_support import run_unittest
     9from test.test_support import run_unittest, import_module
    1010
    11 import readline
     11# Skip tests if there is no readline module
     12readline = import_module('readline')
    1213
    1314class TestHistoryManipulation (unittest.TestCase):
     15
     16    @unittest.skipIf(not hasattr(readline, 'clear_history'),
     17                     "The history update test cannot be run because the "
     18                     "clear_history method is not available.")
    1419    def testHistoryUpdates(self):
    1520        readline.clear_history()
Note: See TracChangeset for help on using the changeset viewer.