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

Stéfan van der Walt stefan@sun.ac...
Mon Jun 23 18:43:36 CDT 2008

2008/6/24 Stéfan van der Walt <stefan@sun.ac.za>:
> It should be fairly easy to execute the example code, just to make
> sure it runs.  We can always work out a scheme to test its validity
> later.

Mike Hansen just explained to me that the Sage doctest system sets the
random seed before executing each test.  If we address

a) Random variables
b) Plotting representations and
c) Endianness

we're probably halfway there.


More information about the Numpy-discussion mailing list