[Python-ideas] Fwd: doctest

Ethan Furman ethan at stoneleaf.us
Tue Feb 28 23:16:21 CET 2012


Mark Janssen wrote:
> On Mon, Feb 27, 2012 at 12:58 PM, Ethan Furman wrote:
>> The other gripe I have (possibly easily fixed): my python prompt is '-->'
>> (makes email posting easier) -- should my doctests still use '>>>'?  Will
>> doctest fail on my machine?
> 
> As written, yes, but easily changeable in the module code for your
> unique case....

Which means my doctests will then fail on other's machines unless they 
also change their local module *and* their python prompt.  Not good.

~Ethan~



More information about the Python-ideas mailing list