[Python-modules-team] Bug#705631: test failures

Julian Taylor jtaylor.debian at googlemail.com
Wed Apr 17 22:08:51 UTC 2013


I get two test failures with 1.2.1.
the first is probably a missing python3-imaging-dbg build dependency.
I can't reproduce the second one with matplotlib git head, so it may
already be fixed, it only occurs with python3.3.

======================================================================
ERROR: matplotlib.tests.test_image.test_imread_pil_uint16
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
...
  File
"/tmp/buildd/matplotlib-1.2.1/build/lib.linux-x86_64-2.7-pydebug/matplotlib/image.py",
line 1287, in toarray
    x_str = im.tostring('raw', im.mode)
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 560, in
tostring
    return self.tobytes(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 534, in tobytes
    self.load()
  File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 167, in
load
    self.load_prepare()
  File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 247, in
load_prepare
    self.im = Image.core.new(self.mode, self.size)
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 39, in
__getattr__
    raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed

----------------------------------------------------------------------
Ran 1251 tests in 897.534s


======================================================================
FAIL: matplotlib.tests.test_basic.test_override_builtins
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File
"/tmp/buildd/matplotlib-1.2.1/build/lib.linux-x86_64-3.3/matplotlib/tests/test_basic.py",
line 37, in test_override_builtins
    assert not overridden
AssertionError: AssertionError:
-------------------- >> begin captured stdout << ---------------------
'__loader__' was overridden in globals().

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------



More information about the Python-modules-team mailing list