Testing interactive code using raw_input

Steven D'Aprano steve at pearwood.info
Tue Mar 11 04:26:01 EDT 2014


On Mon, 10 Mar 2014 17:57:19 +0100, Peter Otten wrote:

> Steven D'Aprano wrote:

>> what are my options for *automatically* supplying input to raw_input?
> 
> https://pypi.python.org/pypi/mock
> 
> In Python 3 this is part of the standard library:

Nice!


Thanks to everyone who responded.



-- 
Steven



More information about the Python-list mailing list