Exemplo n.º 1
0
 def read_init_file(self, filename=None):
     """Parse a readline initialization file.
     The default filename is the last filename used."""
     readline.read_init_file(filename)
Exemplo n.º 2
0
 def test_read_initfile_noarg(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     readline.read_init_file()
Exemplo n.º 3
0
 def test_read_initfile_None(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     readline.read_init_file(None)
Exemplo n.º 4
0
 def test_AAA_setup_init_file(self):
     self.mkfile(self.initfile)
     readline.read_init_file(self.initfile)
Exemplo n.º 5
0
 def read_init_file(self, filename=None):
     """Parse a readline initialization file.
     The default filename is the last filename used."""
     readline.read_init_file(filename)
Exemplo n.º 6
0
 def test_read_initfile_empty_string(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     self.assertEqual(readline.read_init_file(''), None)
Exemplo n.º 7
0
 def test_read_initfile_None(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     readline.read_init_file(None)
Exemplo n.º 8
0
 def test_read_initfile_noarg(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     readline.read_init_file()