def test_set_history_length(self): readline.set_history_length(123) length = readline.get_history_length() self.assertEqual(length, 123)
def test_get_history_length(self): readline.get_history_length()