On 5/16/06, <b class="gmail_sendername">Andrew Harrington</b> &lt;<a href="mailto:aharrin@luc.edu">aharrin@luc.edu</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
We have been discussing testing in tutorials with doctest.<br>There is one place that does not work, I think:&nbsp;&nbsp;testing an interactive<br>loop, which is a construction I teach in introductory programming.<br><br>It appears that doctest cannot handle interactive input.&nbsp;&nbsp;I would still
<br>like to be able to illustrate a session with interactive input and<br>explicit output at the end, and check it automatically.<br><br></blockquote></div>Would this help?<br><br><a href="http://mail.python.org/pipermail/python-list/2003-June/170627.html">
http://mail.python.org/pipermail/python-list/2003-June/170627.html</a><br><br>André<br>