File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 33
44from matplotlib .externals import six
55import sys
6+ import io
7+ import os
68
79import numpy as np
810
9- from matplotlib .testing .decorators import image_comparison , knownfailureif , cleanup
11+ from matplotlib .testing .decorators import (image_comparison ,
12+ knownfailureif , cleanup )
1013from matplotlib .image import BboxImage , imread , NonUniformImage
1114from matplotlib .transforms import Bbox
1215from matplotlib import rcParams
1316import matplotlib .pyplot as plt
14- from nose .tools import assert_raises
15- from numpy .testing import assert_array_equal , assert_array_almost_equal
1617
17- import io
18- import os
18+ from numpy .testing import assert_array_equal
19+
20+
21+ import nose
1922
2023try :
2124 from PIL import Image
25+ del Image
2226 HAS_PIL = True
2327except ImportError :
2428 HAS_PIL = False
2529
30+
2631@image_comparison (baseline_images = ['image_interps' ])
2732def test_image_interps ():
2833 'make the basic nearest, bilinear and bicubic interps'
You can’t perform that action at this time.
0 commit comments