Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mdboom opened this issue Aug 20, 2012 · 1 comment
Closed
Milestone

Comments

@mdboom
Copy link
Member

mdboom commented Aug 20, 2012

======================================================================
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
Copy link
Member Author

mdboom commented Aug 20, 2012

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 as completed Aug 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant