[Numpy-discussion] Run np.test() twice, get message.

Fernando Perez fperez.net@gmail....
Mon Jul 14 18:58:52 CDT 2008

On Sun, Jul 13, 2008 at 10:59 PM, Alan McIntyre <alan.mcintyre@gmail.com> wrote:
> On Mon, Jul 14, 2008 at 1:31 AM, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
>> Any idea what this is:
>> *** DocTestRunner.merge: '__main__' in both testers; summing outcomes.
> Hmm..that's coming from nose.  I'll see what it's about tomorrow.

It's actually coming from doctest.  Hardcode

import doctest
doctest.master = None

in the  code that runs the tests.  This resets a module-global that's
the cause of that message.



More information about the Numpy-discussion mailing list