parent
5f25395cdd
commit
eb68ec75aa
|
@ -29,8 +29,12 @@ def checkprocess(script):
|
|||
script.basename.startswith("py.which"):
|
||||
cmd += " sys"
|
||||
print "executing", script
|
||||
try:
|
||||
old = script.dirpath().chdir()
|
||||
try:
|
||||
py.process.cmdexec(cmd)
|
||||
finally:
|
||||
old.chdir()
|
||||
except py.process.cmdexec.Error, e:
|
||||
if cmd.find("py.rest") != -1 and \
|
||||
e.out.find("module named") != -1:
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
|
||||
""" rst generation tests
|
||||
"""
|
||||
|
||||
import py
|
||||
py.test.importorskip("docutils")
|
||||
from py.__.rest.rst import *
|
||||
from py.__.misc.rest import process as restcheck
|
||||
import traceback
|
||||
|
|
Loading…
Reference in New Issue