summaryrefslogtreecommitdiff
path: root/test/Deprecated
diff options
context:
space:
mode:
Diffstat (limited to 'test/Deprecated')
-rw-r--r--test/Deprecated/BuildDir.py4
-rw-r--r--test/Deprecated/Options/ListOption.py1
-rw-r--r--test/Deprecated/Options/chdir.py1
-rw-r--r--test/Deprecated/Options/help.py1
-rw-r--r--test/Deprecated/Options/import.py1
-rw-r--r--test/Deprecated/SourceSignatures/basic.py1
-rw-r--r--test/Deprecated/SourceSignatures/env.py1
-rw-r--r--test/Deprecated/SourceSignatures/no-csigs.py1
-rw-r--r--test/Deprecated/debug-dtree.py3
-rw-r--r--test/Deprecated/debug-stree.py6
-rw-r--r--test/Deprecated/debug-tree.py3
11 files changed, 3 insertions, 20 deletions
diff --git a/test/Deprecated/BuildDir.py b/test/Deprecated/BuildDir.py
index 709ea8b4..a99d14f9 100644
--- a/test/Deprecated/BuildDir.py
+++ b/test/Deprecated/BuildDir.py
@@ -32,10 +32,8 @@ under the covers).
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
diff --git a/test/Deprecated/Options/ListOption.py b/test/Deprecated/Options/ListOption.py
index 62792b6c..369a8e12 100644
--- a/test/Deprecated/Options/ListOption.py
+++ b/test/Deprecated/Options/ListOption.py
@@ -29,7 +29,6 @@ Test the ListOption canned Option type.
"""
import os
-import os.path
import string
import TestSCons
diff --git a/test/Deprecated/Options/chdir.py b/test/Deprecated/Options/chdir.py
index dd4eb70b..5d6d3ffb 100644
--- a/test/Deprecated/Options/chdir.py
+++ b/test/Deprecated/Options/chdir.py
@@ -51,7 +51,6 @@ print "VARIABLE =", repr(env['VARIABLE'])
test.write(['bin', 'opts.cfg'], """\
import os
-import os.path
os.chdir(os.path.split(__name__)[0])
execfile('opts2.cfg')
""")
diff --git a/test/Deprecated/Options/help.py b/test/Deprecated/Options/help.py
index 2ad52539..3905c777 100644
--- a/test/Deprecated/Options/help.py
+++ b/test/Deprecated/Options/help.py
@@ -30,7 +30,6 @@ Test the Options help messages.
import os.path
import re
-import string
try:
True, False
diff --git a/test/Deprecated/Options/import.py b/test/Deprecated/Options/import.py
index 93849867..5a1627ba 100644
--- a/test/Deprecated/Options/import.py
+++ b/test/Deprecated/Options/import.py
@@ -52,7 +52,6 @@ print "VARIABLE =", env.get('VARIABLE')
"""
test.write(['bin', 'opts.cfg'], """\
-import sys
from local_options import VARIABLE
""" % locals())
diff --git a/test/Deprecated/SourceSignatures/basic.py b/test/Deprecated/SourceSignatures/basic.py
index 50122963..2bfdd659 100644
--- a/test/Deprecated/SourceSignatures/basic.py
+++ b/test/Deprecated/SourceSignatures/basic.py
@@ -25,7 +25,6 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import re
import TestSCons
diff --git a/test/Deprecated/SourceSignatures/env.py b/test/Deprecated/SourceSignatures/env.py
index ec6d3d27..12a596fb 100644
--- a/test/Deprecated/SourceSignatures/env.py
+++ b/test/Deprecated/SourceSignatures/env.py
@@ -30,7 +30,6 @@ default behavior.
"""
import os
-import os.path
import re
import TestSCons
diff --git a/test/Deprecated/SourceSignatures/no-csigs.py b/test/Deprecated/SourceSignatures/no-csigs.py
index 01d05dae..be9cb092 100644
--- a/test/Deprecated/SourceSignatures/no-csigs.py
+++ b/test/Deprecated/SourceSignatures/no-csigs.py
@@ -26,7 +26,6 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import TestSCons
import TestSConsign
diff --git a/test/Deprecated/debug-dtree.py b/test/Deprecated/debug-dtree.py
index 8918052c..3a772d7d 100644
--- a/test/Deprecated/debug-dtree.py
+++ b/test/Deprecated/debug-dtree.py
@@ -30,9 +30,6 @@ dependencies (sources or Depends()) of a target.
"""
import TestSCons
-import sys
-import re
-import time
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
diff --git a/test/Deprecated/debug-stree.py b/test/Deprecated/debug-stree.py
index 9b6e067a..714b5b3a 100644
--- a/test/Deprecated/debug-stree.py
+++ b/test/Deprecated/debug-stree.py
@@ -29,11 +29,9 @@ Test that the --debug=stree option prints a dependency tree with output
that indicates the state of various Node status flags.
"""
-import TestSCons
-import sys
import string
-import re
-import time
+
+import TestSCons
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
diff --git a/test/Deprecated/debug-tree.py b/test/Deprecated/debug-tree.py
index 73b8ec01..833abd5b 100644
--- a/test/Deprecated/debug-tree.py
+++ b/test/Deprecated/debug-tree.py
@@ -30,9 +30,6 @@ complete dependencies of a target.
"""
import TestSCons
-import sys
-import re
-import time
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)