File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 6
6
import io
7
7
import os
8
8
9
+ from distutils .version import LooseVersion as V
10
+
9
11
import numpy as np
10
12
from numpy .testing import assert_array_almost_equal
11
13
12
14
from matplotlib .image import imread
13
15
from matplotlib .backends .backend_agg import FigureCanvasAgg as FigureCanvas
14
16
from matplotlib .figure import Figure
15
- from matplotlib .testing .decorators import cleanup , image_comparison
17
+ from matplotlib .testing .decorators import (
18
+ cleanup , image_comparison , knownfailureif )
16
19
from matplotlib import pyplot as plt
17
20
from matplotlib import collections
18
21
from matplotlib import path
@@ -156,6 +159,7 @@ def test_long_path():
156
159
fig .savefig (buff , format = 'png' )
157
160
158
161
162
+ @knownfailureif (V (np .__version__ ) <= V ('1.7.0' ))
159
163
@image_comparison (baseline_images = ['agg_filter' ],
160
164
extensions = ['png' ], remove_text = True )
161
165
def test_agg_filter ():
You can’t perform that action at this time.
0 commit comments