Commit 6b3c20db authored by maruel@chromium.org's avatar maruel@chromium.org

Fix super_mox on posix.

TEST=unit tests now runs
BUG=none
TBR=nsylvain

Review URL: http://codereview.chromium.org/126278

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18620 0039d316-1c4b-4281-b951-d872f2087c98
parent 8b0c4ac8
......@@ -27,9 +27,9 @@ def OnTestsLoad():
import subprocess
subprocess.call(['svn', 'co', 'http://pymox.googlecode.com/svn/trunk',
os.path.join(directory, 'pymox')],
shell=True)
shell=sys.platform.startswith('win'))
try:
import mox as Mox
import pymox.mox as Mox
mox = Mox
except ImportError:
print >> sys.stderr, ("\nError, failed to load pymox\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment