[IPython-dev] Frontend-sync branch updated, and test failures

Fernando Perez fperez.net@gmail....
Tue Sep 2 19:41:00 CDT 2008

On Tue, Sep 2, 2008 at 5:34 PM, Gael Varoquaux
<gael.varoquaux@normalesup.org> wrote:
> I have done a few tweaks in the frontend branch (mainly to be able to pass
> in a namespace and not have it duplicated, but kept as a reference). It
> would be nice if it where merged before the release. The changes are
> minor.
> On the other hand, I get a score of test failures with latest bzr. A
> bunch of them are due to the fact that I don't have foolscap install. I
> thing they should simply be skipped when foolscap is not there. Another
> bunch of them look like:
> ======================================================================
> ERROR: Doctest: IPython.strdispatch.StrDispatch
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File
> "/usr/local/lib/python2.5/site-packages/IPython_doctest_plugin-0.1-py2.5.egg/ipdoctest.py",
> line 356, in runTest
>    clear_globs=False)
>  File
> "/usr/local/lib/python2.5/site-packages/IPython_doctest_plugin-0.1-py2.5.egg/ipdoctest.py",
> line 643, in run
>    compileflags,out,clear_globs)
>  File
> "/home/gvaroquaux/dev/ipython/ipython-frontend/IPython/genutils.py", line
> 874, in f
>    out = func(*a,**k)
>  File "/usr/lib/python2.5/doctest.py", line 1361, in run
>    return self.__run(test, compileflags, out)
>  File "/usr/lib/python2.5/doctest.py", line 1244, in __run
>    if check(example.want, got, self.optionflags):
>  File
> "/usr/local/lib/python2.5/site-packages/IPython_doctest_plugin-0.1-py2.5.egg/ipdoctest.py",

Are you running the test suite via


(perhaps with -vvvs if you want lots of output)? The installed plugin
shouldn't be picked up at all, iptest loads it for you.  Just symlink
iptest from the scripts/ directory to something in your $PATH and let
us know how that goes.



More information about the IPython-dev mailing list