[IPython-dev] More iptest weirdness

Fernando Perez fperez.net@gmail....
Fri Apr 17 03:03:56 CDT 2009


On Thu, Apr 16, 2009 at 12:02 PM, Jörgen Stenarson
<jorgen.stenarson@bostream.nu> wrote:
> Running iptest in IPython/tests works fine but if I specify a specific
> testfile then it crashes the same way as yesterday.

Is this before or after your easy_install cleanup?  I'm wondering

>
> Furthermore the doctest functions in test_magic do not run. I can delete
> them and the same number of tests are reported.

That's because of the recent de-activation of ipdoctest by default.  I now have

alias iptest2='iptest --with-ipdoctest'

and I run both iptest and iptest2.

Brian found out that nose has been effectively lying to us about the
Twisted tests.  And for a number of reasons, it's obvious we're going
to have to move to process-isolated tests.  Ultimately we'll probably
use trial (twisted's test runner) in its own process to run all the
twisted cases, and nose, possibly with nosepipe, to run other tests
with per-process isolation for things like GUI toolkit tests (since
it's never a good idea to have in the same process Qt3, Qt4, GTK,  Wx
and Cocoa instantiated :)

We're going to  have to solve this testing mess correctly and robustly.

Cheers,

f


More information about the IPython-dev mailing list