Index: tests/super_mox.py |
diff --git a/tests/super_mox.py b/tests/super_mox.py |
index 6102170c476393a7478e97ea378de0d8a791ef5e..ea240f327779baa2ca5ecb9e302b255445b95cd5 100644 |
--- a/tests/super_mox.py |
+++ b/tests/super_mox.py |
@@ -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") |