def expand_tilde(self, text): """Built-in tilde expansion.""" return readline.tilde_expand(text)
def test_tilde_expand_empty_string(self): self.assertEqual(readline.tilde_expand(''), '')
def expand_tilde(self, text): """Built-in tilde expansion. May be called from anywhere to tilde-expand a filename.""" return readline.tilde_expand(text)