[IPython-dev] Problems with "trial IPython.kernel" on trunk

Brian Granger ellisonbg.net at gmail.com
Tue Aug 4 14:14:22 EDT 2009


I just ran the  test suite for trunk with all deps installed and I get a
huge number of errors and failures when trial runs on IPython.kernel.

This is due to a bug that I have fixed in my own module-reorg branch.
Basically, in ultratb, there are calls like this:


But, when the test suite for IPython.kernel is run using trial, no IP
instance every gets created so ipapi.get() returns None.  The fix is to do a
check for None before using the return value of ipapi.get().

What I don't understand is how other's haven't seen this - especially
Fernando in his running of the test suite over and over for the release.  I
can port my fix for this from my module-regorg branch to trunk, but I want
to first make sure that there is nothing wierd going on.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20090804/593fa789/attachment.html>

More information about the IPython-dev mailing list