Skip to content

Make PIL-specific test as knownfailure if PIL is not installed. #945

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

Merged
merged 2 commits into from
Jun 12, 2012

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented Jun 11, 2012

No description provided.

@@ -76,6 +82,7 @@ def test_image_python_io():
buffer.seek(0)
plt.imread(buffer)

@knownfailureif(not HAS_PIL)
def test_imread_pil_uint16():
img = plt.imread(os.path.join(os.path.dirname(__file__),
'baseline_images/test_image/uint16.tif'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While your there, would you mind replacing the slashes by using path.join?

@pelson
Copy link
Member

pelson commented Jun 12, 2012

+1

mdboom added a commit that referenced this pull request Jun 12, 2012
Make PIL-specific test as knownfailure if PIL is not installed.
@mdboom mdboom merged commit c42441a into matplotlib:master Jun 12, 2012
@mdboom mdboom deleted the test-without-pil branch March 3, 2015 18:44
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

Successfully merging this pull request may close these issues.

3 participants