[svn r63052] some fixes for win32

--HG--
branch : trunk
This commit is contained in:
hpk 2009-03-18 20:23:52 +01:00
parent 5f25395cdd
commit eb68ec75aa
2 changed files with 7 additions and 2 deletions

View File

@ -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:

View File

@ -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