summaryrefslogtreecommitdiffstats
path: root/test/IDL
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-02-11 17:57:38 (GMT)
committerSteven Knight <knight@baldmt.com>2009-02-11 17:57:38 (GMT)
commita33fd40cf855819ce49a3c93a831cb28a97a0177 (patch)
tree9207b31537e85de793ef3cdcc9a18be689ce2805 /test/IDL
parent33b254500d0cb179b4446537482905748ff32cf9 (diff)
downloadSCons-a33fd40cf855819ce49a3c93a831cb28a97a0177.zip
SCons-a33fd40cf855819ce49a3c93a831cb28a97a0177.tar.gz
SCons-a33fd40cf855819ce49a3c93a831cb28a97a0177.tar.bz2
Remove more unnecessary imports from test scripts.
Diffstat (limited to 'test/IDL')
-rw-r--r--test/IDL/midl.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/test/IDL/midl.py b/test/IDL/midl.py
index bf4f58c..e716cac 100644
--- a/test/IDL/midl.py
+++ b/test/IDL/midl.py
@@ -24,12 +24,12 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import TestSCons
-import sys
import os
-import TestCmd
+import sys
-test = TestSCons.TestSCons(match = TestCmd.match_re)
+import TestSCons
+
+test = TestSCons.TestSCons(match = TestSCons.match_re)
if sys.platform != 'win32':
msg = "Skipping test on non-Windows platform '%s'\n" % sys.platform
@@ -39,7 +39,6 @@ if sys.platform != 'win32':
# Test the basics
test.write('SConstruct',"""
-import os.path
import os
env = Environment(CPPPATH = '${TARGET.dir}',
@@ -56,8 +55,6 @@ SConscript(os.path.join('build2','SConscript'))
test.subdir('src','build')
test.write('src/SConscript',"""
-import os.path
-
Import('env')
local = env.Clone(WINDOWS_INSERT_DEF = 1)