summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ninja/shutdown_scons_daemon.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ninja/shutdown_scons_daemon.py b/test/ninja/shutdown_scons_daemon.py
index 39dddda..64ec2c7 100644
--- a/test/ninja/shutdown_scons_daemon.py
+++ b/test/ninja/shutdown_scons_daemon.py
@@ -28,6 +28,8 @@ from timeit import default_timer as timer
import TestSCons
from TestCmd import IS_WINDOWS
+test = TestSCons.TestSCons()
+
try:
import ninja
except ImportError:
@@ -38,7 +40,6 @@ try:
except ImportError:
test.skip_test("Could not find psutil module in python")
-test = TestSCons.TestSCons()
_python_ = TestSCons._python_
_exe = TestSCons._exe