[svn r58340] this seems to need to be this way, otherwise a py.lookup from PATH will be used or a failure will occur instead
--HG-- branch : trunk
This commit is contained in:
parent
e63da23050
commit
aeca93f0b3
|
@ -4,7 +4,7 @@ from py.__.test.testing.acceptance_test import AcceptBase
|
||||||
class TestPyLookup(AcceptBase):
|
class TestPyLookup(AcceptBase):
|
||||||
def test_basic(self):
|
def test_basic(self):
|
||||||
p = self.makepyfile(hello="def x(): pass")
|
p = self.makepyfile(hello="def x(): pass")
|
||||||
result = self.run("py.lookup", "pass")
|
result = self.runpybin("py.lookup", "pass")
|
||||||
suptest.assert_lines_contain_lines(result.outlines,
|
suptest.assert_lines_contain_lines(result.outlines,
|
||||||
['%s:*def x(): pass' %(p.basename)]
|
['%s:*def x(): pass' %(p.basename)]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue