File tree 1 file changed +10
-5
lines changed 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
from matplotlib .externals import six
5
5
import sys
6
+ import io
7
+ import os
6
8
7
9
import numpy as np
8
10
9
- from matplotlib .testing .decorators import image_comparison , knownfailureif , cleanup
11
+ from matplotlib .testing .decorators import (image_comparison ,
12
+ knownfailureif , cleanup )
10
13
from matplotlib .image import BboxImage , imread , NonUniformImage
11
14
from matplotlib .transforms import Bbox
12
15
from matplotlib import rcParams
13
16
import matplotlib .pyplot as plt
14
- from nose .tools import assert_raises
15
- from numpy .testing import assert_array_equal , assert_array_almost_equal
16
17
17
- import io
18
- import os
18
+ from numpy .testing import assert_array_equal
19
+
20
+
21
+ import nose
19
22
20
23
try :
21
24
from PIL import Image
25
+ del Image
22
26
HAS_PIL = True
23
27
except ImportError :
24
28
HAS_PIL = False
25
29
30
+
26
31
@image_comparison (baseline_images = ['image_interps' ])
27
32
def test_image_interps ():
28
33
'make the basic nearest, bilinear and bicubic interps'
You can’t perform that action at this time.
0 commit comments