[svn r58017] fixing two more glitches
--HG-- branch : trunk
This commit is contained in:
parent
2bac2ed175
commit
c7e867d969
|
@ -11,7 +11,7 @@ class TestPyLookup(AcceptBase):
|
||||||
|
|
||||||
def test_search_in_filename(self):
|
def test_search_in_filename(self):
|
||||||
p = self.makepyfile(hello="def x(): pass")
|
p = self.makepyfile(hello="def x(): pass")
|
||||||
result = self.run("py.lookup", "hello")
|
result = self.runpybin("py.lookup", "hello")
|
||||||
suptest.assert_lines_contain_lines(result.outlines,
|
suptest.assert_lines_contain_lines(result.outlines,
|
||||||
['*%s:*' %(p.basename)]
|
['*%s:*' %(p.basename)]
|
||||||
)
|
)
|
||||||
|
|
|
@ -32,7 +32,7 @@ class TestGraphviz(object):
|
||||||
png.remove()
|
png.remove()
|
||||||
|
|
||||||
def _graphviz_pdf(self):
|
def _graphviz_pdf(self):
|
||||||
for exe in 'dot latex epstopdf'.split():
|
for exe in 'dot latex epstopdf ps2eps'.split():
|
||||||
if not py.path.local.sysfind(exe):
|
if not py.path.local.sysfind(exe):
|
||||||
py.test.skip("%r needed" %(exe,))
|
py.test.skip("%r needed" %(exe,))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue