[Numpy-discussion] Code samples in docstrings mistaken as doctests

Fernando Perez fperez.net@gmail....
Mon Jun 23 19:19:58 CDT 2008


On Mon, Jun 23, 2008 at 4:58 PM, Michael Abshoff
<michael.abshoff@googlemail.com> wrote:

>> a) Random variables
>
> we have some small extensions to the doctesting framework that allow us
> to mark doctests as "#random" so that the result it not checked. Carl
> Witty wrote some code that makes the random number generator in a lot of
> the Sage components behave consistently on all supported platforms.

Care to share? (BSD, we can't even look at the Sage code).

Cheers,

f


More information about the Numpy-discussion mailing list