[IPython-dev] Test failure in master

Fernando Perez fperez.net at gmail.com
Sat Apr 21 01:37:49 EDT 2012


Is anyone else seeing this?

blanca[junk]> iptest IPython.lib
...............EE....................
======================================================================
ERROR: Verify that plot is not available when pylab_import_all = False
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/fperez/usr/lib/python2.7/site-packages/IPython/testing/decorators.py",
line 228, in skipper_func
    return f(*args, **kwargs)
  File "/home/fperez/usr/lib/python2.7/site-packages/IPython/testing/decorators.py",
line 225, in skipper_func
    if skip_val():
  File "/home/fperez/usr/lib/python2.7/site-packages/IPython/lib/tests/test_irunner_pylab_magic.py",
line 21, in pylab_not_importable
    import pylab
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/pylab.py",
line 1, in <module>
    from matplotlib.pylab import *
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/pylab.py",
line 222, in <module>
    from matplotlib import mpl  # pulls in most modules
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/mpl.py",
line 1, in <module>
    from matplotlib import artist
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/artist.py",
line 6, in <module>
    from transforms import Bbox, IdentityTransform, TransformedBbox,
TransformedPath
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/transforms.py",
line 47, in <module>
    from path import Path
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/path.py",
line 19, in <module>
    class Path(object):
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/path.py",
line 398, in Path
    _unit_regular_polygons = WeakValueDictionary()
  File "/usr/lib/python2.7/weakref.py", line 53, in __init__
    UserDict.UserDict.__init__(self, *args, **kw)
TypeError: unbound method __init__() must be called with UserDict
instance as first argument (got WeakValueDictionary instance instead)

======================================================================
ERROR: Verify that plot is available when pylab_import_all = True
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/fperez/usr/lib/python2.7/site-packages/IPython/testing/decorators.py",
line 228, in skipper_func
    return f(*args, **kwargs)
  File "/home/fperez/usr/lib/python2.7/site-packages/IPython/testing/decorators.py",
line 225, in skipper_func
    if skip_val():
  File "/home/fperez/usr/lib/python2.7/site-packages/IPython/lib/tests/test_irunner_pylab_magic.py",
line 21, in pylab_not_importable
    import pylab
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/pylab.py",
line 1, in <module>
    from matplotlib.pylab import *
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/pylab.py",
line 222, in <module>
    from matplotlib import mpl  # pulls in most modules
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/mpl.py",
line 1, in <module>
    from matplotlib import artist
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/artist.py",
line 6, in <module>
    from transforms import Bbox, IdentityTransform, TransformedBbox,
TransformedPath
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/transforms.py",
line 47, in <module>
    from path import Path
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/path.py",
line 19, in <module>
    class Path(object):
  File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/path.py",
line 398, in Path
    _unit_regular_polygons = WeakValueDictionary()
  File "/usr/lib/python2.7/weakref.py", line 53, in __init__
    UserDict.UserDict.__init__(self, *args, **kw)
TypeError: unbound method __init__() must be called with UserDict
instance as first argument (got WeakValueDictionary instance instead)

----------------------------------------------------------------------
Ran 38 tests in 2.755s


f



More information about the IPython-dev mailing list