ERROR: matplotlib.tests.test_image.test_imread_pil_uint16 on Python 3.x #1119

Closed
mdboom opened this Issue Aug 20, 2012 · 1 comment

1 participant

@mdboom
Matplotlib Developers member
======================================================================
ERROR: matplotlib.tests.test_image.test_imread_pil_uint16
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/testing/decorators.py", line 39, in failer
    result = f(*args, **kwargs)
  File "/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/tests/test_image.py", line 89, in test_imread_pil_uint16
    'baseline_images', 'test_image', 'uint16.tif'))
  File "/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/pyplot.py", line 2032, in imread
    return _imread(*args, **kwargs)
  File "/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/image.py", line 1221, in imread
    raise ValueError('Only know how to handle extensions: %s; with PIL installed matplotlib can handle more images' % list(handlers.keys()))
ValueError: Only know how to handle extensions: ['png']; with PIL installed matplotlib can handle more images

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mdboom/python3/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/mdboom/python3/lib/python3.2/site-packages/matplotlib/testing/decorators.py", line 47, in failer
    raise KnownFailureTest(msg) # An error here when running nose means that you don't have the matplotlib.testing.noseclasses:KnownFailure plugin in use.
matplotlib.testing.noseclasses.KnownFailureTest: Test known to fail
@mdboom
Matplotlib Developers member

Never mind -- this is (correctly) marked as known fail -- since there is no PIL available for Python 3.x -- I just didn't have my test running working correctly.

@mdboom mdboom closed this Aug 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment