[Numpy-discussion] Doctest items

Charles R Harris charlesr.harris@gmail....
Tue Jul 1 13:38:57 CDT 2008

On Tue, Jul 1, 2008 at 11:56 AM, Alan McIntyre <alan.mcintyre@gmail.com>

> Just a few questions/comments about doctests:
> 1. Should all doctests be written such that you could start Python, do
> an "import numpy as np", and then type in the examples verbatim? There
> are a number that currently wouldn't work that way (they depend on the
> function under test being in the local namespace, for example).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080701/fec126ad/attachment.html 

More information about the Numpy-discussion mailing list