We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04ab5c commit 57b2f17Copy full SHA for 57b2f17
lib/matplotlib/tests/test_image.py
@@ -95,7 +95,7 @@ def test_image_python_io():
95
plt.imread(buffer)
96
97
98
-@pytest.mark.xfail(not HAS_PIL)
+@pytest.mark.xfail(not HAS_PIL, reason='PIL is not installed')
99
def test_imread_pil_uint16():
100
img = plt.imread(os.path.join(os.path.dirname(__file__),
101
'baseline_images', 'test_image', 'uint16.tif'))
@@ -481,7 +481,7 @@ def test_nonuniformimage_setnorm():
481
im.set_norm(plt.Normalize())
482
483
484
485
@cleanup
486
def test_jpeg_alpha():
487
plt.figure(figsize=(1, 1), dpi=300)
0 commit comments