summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2021-04-18 17:17:35 (GMT)
committerMats Wichmann <mats@linux.com>2021-04-18 17:18:25 (GMT)
commita8516de2f0be55447b00148aba5e8b857933f67d (patch)
tree520267f776160e5bc5de26ea5ecfbacbcb63ef90
parent85f75affc4b92bdf0db3dd1c35cd875320ba5f26 (diff)
downloadSCons-a8516de2f0be55447b00148aba5e8b857933f67d.zip
SCons-a8516de2f0be55447b00148aba5e8b857933f67d.tar.gz
SCons-a8516de2f0be55447b00148aba5e8b857933f67d.tar.bz2
[PR 3931] fix a couple of unneeded imports (sider) [ci skip]
Signed-off-by: Mats Wichmann <mats@linux.com>
-rw-r--r--test/Install/Install-ro.py3
-rw-r--r--test/Install/multi-dir/src/SConstruct3
2 files changed, 2 insertions, 4 deletions
diff --git a/test/Install/Install-ro.py b/test/Install/Install-ro.py
index 4a929dc..aa7e6f3 100644
--- a/test/Install/Install-ro.py
+++ b/test/Install/Install-ro.py
@@ -27,9 +27,6 @@
Test that SCons allows Install on top of an existing read-only file.
"""
-import sys
-import os
-import os.path
import TestSCons
test = TestSCons.TestSCons()
diff --git a/test/Install/multi-dir/src/SConstruct b/test/Install/multi-dir/src/SConstruct
index 05b46a9..44e3589 100644
--- a/test/Install/multi-dir/src/SConstruct
+++ b/test/Install/multi-dir/src/SConstruct
@@ -1,7 +1,8 @@
# This tests for a bug where installing a sequence dirs and subdirs
# outside the source tree can cause SCons to fail to create the dest
# dir.
-import os, os.path, shutil
+import os
+
DefaultEnvironment(tools=[])
env=Environment(tools=[])
dst='../build'