[Python-Dev] readline.clear_history()

Alex Martelli aleaxit at yahoo.com
Thu Aug 28 10:30:26 EDT 2003


On Thursday 28 August 2003 01:28 am, Guido van Rossum wrote:
> > Hmmm...  that makes me think of tests...  I guess I won't really be able
> > to supply a test for the feature, since that would just be testing
> > whether the feature is available.
>
> For interactive stuff like this, absence of unit tests is acceptable.

pexpect (or rebuilding some of its functionality on top of raw pty) should
allow unit tests of textmode interactive stuff, though -- in theory, at least.


Alex




More information about the Python-Dev mailing list