Skip to content

Commit f6eac94

Browse files
committed
TST: remove test that relies of tools not backported to v2.2.x
1 parent 4cb7364 commit f6eac94

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

lib/matplotlib/tests/test_image.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
rc_context, rcParams)
1818
from matplotlib.image import (AxesImage, BboxImage, FigureImage,
1919
NonUniformImage, PcolorImage)
20-
from matplotlib.testing.decorators import check_figures_equal, image_comparison
20+
from matplotlib.testing.decorators import image_comparison
2121
from matplotlib.transforms import Bbox, Affine2D, TransformedBbox
2222

2323
import pytest
@@ -105,15 +105,6 @@ def test_image_python_io():
105105
plt.imread(buffer)
106106

107107

108-
@check_figures_equal()
109-
def test_imshow_pil(fig_test, fig_ref):
110-
pytest.importorskip("PIL")
111-
img = plt.imread(os.path.join(os.path.dirname(__file__),
112-
'baseline_images', 'test_image', 'uint16.tif'))
113-
fig_test.subplots().imshow(img)
114-
fig_ref.subplots().imshow(np.asarray(img))
115-
116-
117108
def test_imread_pil_uint16():
118109
pytest.importorskip("PIL")
119110
img = plt.imread(os.path.join(os.path.dirname(__file__),

0 commit comments

Comments
 (0)