예제 #1
0
 def test_set_history_length(self):
     readline.set_history_length(123)
     length = readline.get_history_length()
     self.assertEqual(length, 123)
예제 #2
0
 def test_get_history_length(self):
     readline.get_history_length()