Commits

Anonymous committed 18614dc

Remove (lots) more unnecessary imports.

  • Participants
  • Parent commits d7d3263

Comments (0)

Files changed (235)

 """
 
 import os
-import string
 import sys
 import TestSCons
 

test/AS/ASCOMSTR.py

 """
 
 import os
-import string
 import sys
 import TestSCons
 

test/AS/ASFLAGS.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
 import string
 import sys
 import TestSCons
 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
 import string
 import sys
 import TestSCons

test/AS/ASPPCOM.py

 Test the ability to configure the $ASPPCOM construction variable.
 """
 
-import os
-import string
 import sys
 import TestSCons
 

test/AS/ASPPCOMSTR.py

 the displayed assembler string.
 """
 
-import os
 import string
 import sys
 import TestSCons

test/AS/ASPPFLAGS.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
 import string
 import sys
 import TestSCons

test/Actions/append.py

 """)
 
 test.write('SConstruct', """
-import os.path
 
 env=Environment()
 

test/Actions/pre-post.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import stat
 import sys
 import TestSCons

test/AddOption/basic.py

 it's not).
 """
 
-import string
-
 import TestSCons
 
 test = TestSCons.TestSCons()

test/AddOption/optional-arg.py

 command-line option with an optional argument value.
 """
 
-import string
-
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Alias/action.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
-import sys
 import TestSCons
-import TestCmd
 
 test = TestSCons.TestSCons()
 

test/Alias/errors.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
-import sys
 import TestSCons
-import TestCmd
 
 test = TestSCons.TestSCons()
 

test/Alias/scanner.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
-import sys
 import TestSCons
-import TestCmd
 
 test = TestSCons.TestSCons()
 

test/AlwaysBuild.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()
 """
 
 import os
-import string
 import sys
 import TestSCons
 

test/CC/CCCOMSTR.py

 """
 
 import os
-import string
 import sys
 import TestSCons
 

test/CC/SHCCCOM.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import string
 import sys
 import TestSCons
 

test/CC/SHCCCOMSTR.py

 """
 
 import os
-import string
 import sys
 import TestSCons
 

test/CFILESUFFIX.py

 """
 
 import os
-import os.path
 import string
 import sys
 import TestSCons
 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
-import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/CPPSUFFIXES.py

 test = TestSCons.TestSCons()
 
 test.write('mycc.py', r"""
-import string
 import sys
 def do_file(outf, inf):
     for line in open(inf, 'rb').readlines():
 """
 
 import os
-import os.path
 
 import TestSCons
 

test/CXX/CXXCOM.py

 Test the ability to configure the $CXXCOM construction variable.
 """
 
-import os
-import string
 import sys
 import TestSCons
 

test/CXX/CXXCOMSTR.py

 the C++ compilation output.
 """
 
-import os
-import string
-import sys
 import TestSCons
 
 _python_ = TestSCons._python_

test/CXX/CXXFILESUFFIX.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import string
 import sys
 import TestSCons

test/CXX/SHCXXCOM.py

 Test the ability to configure the $SHCXXCOM construction variable.
 """
 
-import os
-import string
 import sys
 import TestSCons
 

test/CXX/SHCXXCOMSTR.py

 the shared object C++ compilation output.
 """
 
-import os
-import string
 import sys
 import TestSCons
 

test/CacheDir/debug.py

 build of the file completes and we push it out.
 """
 
-import os
-
 import TestSCons
 
 test = TestSCons.TestSCons(match=TestSCons.match_re)

test/CacheDir/symlink.py

 """
 
 import os
-import os.path
 
 import TestSCons
 

test/CacheDir/up-to-date-q.py

 """
 
 sconstruct = """
-import os
 CacheDir(r'%s')
 Program('foo', 'foo.c')
 """ % test.workpath('cache')
 """
 
 import os
-import os.path
 import stat
 
 import TestSCons

test/Configure/ConfigureDryRunError.py

 Verify the ConfigureDryRunError.
 """
 
-import os.path
+import os
 
 import TestSCons
 

test/Configure/VariantDir.py

 Verify that Configure contexts work with basic use of VariantDir.
 """
 
-import os.path
+import os
 
 import TestSCons
 

test/Configure/cache-not-ok.py

 Verify that the cache mechanism works when checks are not ok.
 """
 
-import os.path
-
 import TestSCons
 
 _exe = TestSCons._exe

test/Configure/clean.py

 -c or --clean options have been specified.
 """
 
-import string
-
 import TestSCons
 
 test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)

test/Configure/help.py

 -H, -h or --help options have been specified.
 """
 
-import string
-
 import TestSCons
 
 test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)

test/Copy-Action.py

 """
 
 import os
-import os.path
+import stat
 import sys
-import stat
 
 import TestSCons
 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import string
-import sys
+
 import TestSCons
 
 _exe = TestSCons._exe

test/DSUFFIXES.py

 test = TestSCons.TestSCons()
 
 test.write('mydc.py', r"""
-import string
 import sys
 def do_file(outf, inf):
     for line in open(inf, 'rb').readlines():

test/Deprecated/BuildDir.py

 Note that using BuildDir() does not yet print a deprecation warning.
 """
 
-import os.path
 import string
-import sys
-import time
+
 import TestSCons
 
 _exe = TestSCons._exe

test/Deprecated/Options/ListOption.py

 """
 
 import os
-import os.path
 import string
 
 import TestSCons

test/Deprecated/Options/chdir.py

 
 test.write(['bin', 'opts.cfg'], """\
 import os
-import os.path
 os.chdir(os.path.split(__name__)[0])
 execfile('opts2.cfg')
 """)

test/Deprecated/Options/help.py

 
 import os.path
 import re
-import string
 
 try:
     True, False

test/Deprecated/Options/import.py

 """
 
 test.write(['bin', 'opts.cfg'], """\
-import sys
 from local_options import VARIABLE
 """ % locals())
 

test/Deprecated/SourceSignatures/basic.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import re
 
 import TestSCons

test/Deprecated/SourceSignatures/env.py

 """
 
 import os
-import os.path
 import re
 
 import TestSCons

test/Deprecated/SourceSignatures/no-csigs.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 
 import TestSCons
 import TestSConsign

test/Deprecated/debug-dtree.py

 """
 
 import TestSCons
-import sys
-import re
-import time
 
 test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
 

test/Deprecated/debug-stree.py

 that indicates the state of various Node status flags.
 """
 
+import string
+
 import TestSCons
-import sys
-import string
-import re
-import time
 
 test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
 

test/Deprecated/debug-tree.py

 """
 
 import TestSCons
-import sys
-import re
-import time
 
 test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
 

test/Dir/source.py

 change in any file under that directory should trigger a rebuild.
 """
 
-import sys
 import TestSCons
 
 

test/Fortran/F77PATH.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import string
 
 import TestSCons
 

test/Fortran/F90PATH.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import string
 
 import TestSCons
 

test/Fortran/FORTRANPATH.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import string
 
 import TestSCons
 

test/Fortran/FORTRANSUFFIXES.py

 test = TestSCons.TestSCons()
 
 test.write('myfc.py', r"""
-import string
 import sys
 def do_file(outf, inf):
     for line in open(inf, 'rb').readlines():

test/Ghostscript/GS.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Ghostscript/GSFLAGS.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Glob/glob-libpath.py

 Test output should not contain -Lsrc/util.
 """
 
-import TestCmd
 import TestSCons
 
 test = TestSCons.TestSCons()
 
 import TestSCons
 import sys
-import os.path
 import os
 import TestCmd
-import time
 
 test = TestSCons.TestSCons(match = TestCmd.match_re)
 

test/Install/Install.py

 
 import os.path
 import string
-import sys
 import time
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Install/InstallAs.py

 """
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Install/directories.py

 """
 
 import os.path
-import string
-import sys
-import time
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Install/option--install-sandbox.py

 """
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Interactive/added-include.py

 added to the source file.
 """
 
-import string
-
 import TestSCons
 
 test = TestSCons.TestSCons()
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import string
 import sys
 import TestSCons

test/Java/JAVAC.py

 """
 
 import os
-import os.path
-import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Java/JAVAH.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os.path
+import os
 import string
 
 import TestSCons

test/Java/Java-1.4.py

 """
 
 import os
-import os.path
-import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Java/Java-1.5.py

 """
 
 import os
-import os.path
-import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Java/Java-1.6.py

 """
 
 import os
-import os.path
-import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Java/RMIC.py

 import os
 import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_
 test = TestSCons.TestSCons()
 
 test.write('myrmic.py', r"""
-import os.path
+import os
 import sys
 args = sys.argv[1:]
 while args:

test/Java/multi-step.py

 capabilities of the various Java Builders.
 """
 
+import os
+
 import TestSCons
 
 test = TestSCons.TestSCons()
 # a SampleTest.class file, while others do.  Only issue a warning if
 # it doesn't exist.
 p = test.workpath('buildout', 'jni', 'SampleTest.class')
-import os.path
 if not os.path.exists(p):
     print 'Warning:  %s does not exist' % p
 

test/Java/nested-classes.py

 """
 
 import os
-import os.path
-import string
-import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import string
 import sys
 import TestSCons

test/LEX/LEXFLAGS.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import string
 import sys
 import TestSCons

test/LINK/LINKCOM.py

 Test the ability to configure the $LINKCOM construction variable.
 """
 
-import os
-import string
-import sys
 import TestSCons
 
 _python_ = TestSCons._python_

test/LINK/LINKCOMSTR.py

 the displayed linker string.
 """
 
-import os
 import string
 import sys
 import TestSCons

test/LINK/SHLINKCOM.py

 Test the ability to configure the $SHLINKCOM construction variable.
 """
 
-import os
-import string
 import sys
 import TestSCons
 

test/LINK/SHLINKCOMSTR.py

 the displayed linker string for programs using shared libraries.
 """
 
-import os
-import string
-import sys
 import TestSCons
 
 _python_ = TestSCons._python_

test/Libs/LIBPATH.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import TestSCons
-import sys
 import os.path
 import time
 
+import TestSCons
+
 _exe = TestSCons._exe
 _dll = TestSCons._dll
 dll_ = TestSCons.dll_

test/Libs/SHLIBPREFIX.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import sys
+
 import TestSCons
 
 _lib = TestSCons._dll

test/Libs/SHLIBSUFFIX.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import sys
+
 import TestSCons
 
 dll_ = TestSCons.dll_

test/Libs/SharedLibrary.py

 import string
 import sys
 
-import TestCmd
 import TestSCons
 
 test = TestSCons.TestSCons()
 """
 
 import os
-import os.path
 import string
 import sys
 import TestSCons

test/MSVC/PCHSTOP-errors.py

-#!/usr/bin/env python
-#
-# __COPYRIGHT__
-#
-# Permission is hereby granted, free of charge, to any person obtaining
-# a copy of this software and associated documentation files (the
-# "Software"), to deal in the Software without restriction, including
-# without limitation the rights to use, copy, modify, merge, publish,
-# distribute, sublicense, and/or sell copies of the Software, and to
-# permit persons to whom the Software is furnished to do so, subject to
-# the following conditions:
-#
-# The above copyright notice and this permission notice shall be included
-# in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
-# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
-# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#
-
-__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-
-"""
-# Test error reporting
-"""
-
-import re
-import sys
-
-import TestSCons
-
-test = TestSCons.TestSCons(match = TestSCons.match_re)
-
-if sys.platform != 'win32':
-    msg = "Skipping Visual C/C++ test on non-Windows platform '%s'\n" % sys.platform
-    test.skip_test(msg)
-
-
-
-SConstruct_path = test.workpath('SConstruct')
-
-test.write(SConstruct_path, """\
-env = Environment()
-env['PDB'] = File('test.pdb')
-env['PCH'] = env.PCH('StdAfx.cpp')[0]
-if int(ARGUMENTS.get('SET_PCHSTOP')):
-    env['PCHSTOP'] = File('StdAfx.h')
-env.Program('test', 'test.cpp')
-""")
-
-
-
-expect_stderr = r'''
-scons: \*\*\* The PCHSTOP construction must be defined if PCH is defined.
-File "%s", line \d+, in \?
-''' % re.escape(SConstruct_path)
-
-test.run(arguments='SET_PCHSTOP=0', status=2, stderr=expect_stderr)
-
-
-
-expect_stderr = r'''
-scons: \*\*\* The PCHSTOP construction variable must be a string: .+
-File "%s", line \d+, in \?
-''' % re.escape(SConstruct_path)
-
-test.run(arguments='SET_PCHSTOP=1', status=2, stderr=expect_stderr)
-
-
-
-test.pass_test()
+#!/usr/bin/env python
+#
+# __COPYRIGHT__
+#
+# Permission is hereby granted, free of charge, to any person obtaining
+# a copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+
+"""
+# Test error reporting
+"""
+
+import re
+import sys
+
+import TestSCons
+
+test = TestSCons.TestSCons(match = TestSCons.match_re)
+
+if sys.platform != 'win32':
+    msg = "Skipping Visual C/C++ test on non-Windows platform '%s'\n" % sys.platform
+    test.skip_test(msg)
+
+
+
+SConstruct_path = test.workpath('SConstruct')
+
+test.write(SConstruct_path, """\
+env = Environment()
+env['PDB'] = File('test.pdb')
+env['PCH'] = env.PCH('StdAfx.cpp')[0]
+if int(ARGUMENTS.get('SET_PCHSTOP')):
+    env['PCHSTOP'] = File('StdAfx.h')
+env.Program('test', 'test.cpp')
+""")
+
+
+
+expect_stderr = r'''
+scons: \*\*\* The PCHSTOP construction must be defined if PCH is defined.
+File "%s", line \d+, in \?
+''' % re.escape(SConstruct_path)
+
+test.run(arguments='SET_PCHSTOP=0', status=2, stderr=expect_stderr)
+
+
+
+expect_stderr = r'''
+scons: \*\*\* The PCHSTOP construction variable must be a string: .+
+File "%s", line \d+, in \?
+''' % re.escape(SConstruct_path)
+
+test.run(arguments='SET_PCHSTOP=1', status=2, stderr=expect_stderr)
+
+
+
+test.pass_test()

test/MSVC/msvc.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import re
 import sys
 import time
 

test/MSVS/common-prefix.py

 """
 
 import os
-import os.path
 import sys
 
-import TestCmd
 import TestSConsMSVS
 
 test = TestSConsMSVS.TestSConsMSVS()

test/MSVS/runfile.py

 """
 
 import os
-import os.path
 import sys
 
-import TestCmd
 import TestSConsMSVS
 
 test = TestSConsMSVS.TestSConsMSVS()

test/Parallel/failed-build.py

 # it sees the failure from the first script.
 
 test.write('myfail.py', r"""\
-import os.path
+import os
 import sys
 import time
 while not os.path.exists('mycopy.started'):

test/ParseConfig.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
-import sys
-
-import TestCmd
 import TestSCons
 
 _python_ = TestSCons._python_
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
-import string
 import sys
+import time
+
 import TestSCons
-import time
 
 test = TestSCons.TestSCons()
 

test/Program-j.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import sys
 import TestSCons
 
 _exe = TestSCons._exe
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os.path
-import sys
 import time
+
 import TestSCons
 
 _exe = TestSCons._exe
 
 test.write('SConstruct', """
 import os
-import os.path
 
 def DoWithVariables(variables, prefix, what):
   saved_variables = { }

test/QT/installed.py

 """
 
 import os
-import re
 import string
 import sys
 

test/QT/up-to-date.py

 
 test.write('SConstruct', """\
 import os
-import sys
 aa=os.getcwd()
 
 env=Environment(tools=['default','expheaders','qt'],toolpath=[aa])

test/RANLIB/RANLIB.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import os.path
 import string
 import sys
 import TestSCons

test/RCS/changed.py

 Test explicit checkouts from local RCS files.
 """
 
-import os.path
-
 import TestSCons
 
 test = TestSCons.TestSCons()

test/RCS/diskcheck.py

 Test transparent RCS checkouts from an RCS subdirectory.
 """
 
-import os.path
+import os
 
 import TestSCons
 

test/RCS/explicit.py

 Test explicit checkouts from local RCS files.
 """
 
-import os.path
+import os
 
 import TestSCons
 

test/RCS/transparent.py

 Test transparent RCS checkouts from an RCS subdirectory.
 """
 
-import os.path
+import os
 
 import TestSCons
 

test/Repository/Default.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Repository/Install.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Repository/InstallAs.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Repository/Java.py

 """
 
 import os
-import string
-import sys
+
 import TestSCons
 
 python = TestSCons.python

test/Repository/JavaH.py

 """
 
 import os
-import string
-import sys
+
 import TestSCons
 
 python = TestSCons.python

test/Repository/Local.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Repository/M4.py

 """
 
 import os
-import os.path
 import string
 import sys
 import TestSCons

test/Repository/SharedLibrary.py

 import string
 import sys
 
-import TestCmd
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Repository/VariantDir.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Repository/no-repository.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
-import string
 import sys
+
 import TestSCons
 
 python = TestSCons.python

test/Repository/option-c.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Repository/option-n.py

 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os.path
-import sys
+
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Repository/signature-order.py

 to a Repository and vice versa.
 """
 
-import sys
 import TestSCons
 
 _exe = TestSCons._exe

test/Rpcgen/RPCGENCLIENTFLAGS.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
 import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Rpcgen/RPCGENFLAGS.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
 import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Rpcgen/RPCGENHEADERFLAGS.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
 import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Rpcgen/RPCGENSERVICEFLAGS.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
 import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/Rpcgen/RPCGENXDRFLAGS.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import os
 import string
 import sys
+
 import TestSCons
 
 _python_ = TestSCons._python_

test/SCONS_LIB_DIR.py

 
 import TestSCons
 import os
-import string
 
 test = TestSCons.TestSCons()
 

test/SConscript/SConscriptChdir.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import sys
 import TestSCons
 
 test = TestSCons.TestSCons()

test/SConscriptChdir.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import sys
 import TestSCons
 
 test = TestSCons.TestSCons()

test/SWIG/SWIGFLAGS.py

 Verify that we can use ${SOURCE} expansions in $SWIGFLAGS.
 """
 
-import sys
-
 import TestSCons
 
 test = TestSCons.TestSCons()

test/SWIG/SWIGOUTDIR.py

 that Java files are created in the specified output directory.
 """
 
-import sys
-
 import TestSCons
 
 test = TestSCons.TestSCons()

test/SWIG/implicit-dependencies.py

 Verify that SWIG implicit dependencies are caught.
 """
 
-import sys
-
 import TestSCons
 
 test = TestSCons.TestSCons()

test/Scanner/exception.py

 
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
-import string
-import sys
 import TestSCons
 
 python = TestSCons.python

test/Scanner/generated.py

 complexity is valuable in its own right.
 """
 
-import os.path
 import sys
 
-import TestCmd
 import TestSCons
 
 test = TestSCons.TestSCons()

test/SideEffect/basic.py

 """
 
 import os.path
-import string
 
 import TestSCons
 

test/SideEffect/directory.py

 Verify that a directory (Dir()) works as a SideEffect() "target."
 """
 
-import os.path
-import string
-
 import TestSCons
 
 test = TestSCons.TestSCons()

test/SourceCode.py

 """
 
 import os
-import stat