File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -961,8 +961,8 @@ def find_tex_file(filename, format=None):
961
961
`--format` option.
962
962
963
963
Apparently most existing TeX distributions on Unix-like systems
964
- use kpathsea. I hear MikTeX (a popular distribution on Windows)
965
- doesn't use kpathsea, so what do we do? (TODO)
964
+ use kpathsea. It's also available as part of MikTeX, a popular
965
+ distribution on Windows.
966
966
967
967
.. seealso::
968
968
Original file line number Diff line number Diff line change 2
2
unicode_literals )
3
3
4
4
from matplotlib .externals import six
5
+ from matplotlib .compat .subprocess import check_output
6
+
5
7
6
8
from nose .tools import assert_equal , with_setup
7
9
import matplotlib .dviread as dr
@@ -61,6 +63,11 @@ def test_PsfontsMap():
61
63
62
64
63
65
def test_dviread ():
66
+ try :
67
+ check_output (["kpsewhich" , "-version" ])
68
+ except :
69
+ raise SkipTest ('kpsewhich is required' )
70
+
64
71
dir = os .path .join (os .path .dirname (__file__ ), 'baseline_images' , 'dviread' )
65
72
with open (os .path .join (dir , 'test.json' )) as f :
66
73
correct = json .load (f )
You can’t perform that action at this time.
0 commit comments