Testing interactive code using raw_input

Ethan Furman ethan at stoneleaf.us
Mon Mar 10 12:53:43 EDT 2014


On 03/10/2014 08:59 AM, Steven D'Aprano wrote:
> With an
> automated test, I can provide the arguments, and check the result, but
> what are my options for *automatically* supplying input to raw_input?

pexpect?

--
~Ethan~



More information about the Python-list mailing list