summaryrefslogtreecommitdiffstats
path: root/test/Dir
diff options
context:
space:
mode:
authorAdam Gross <grossag@vmware.com>2020-04-02 16:06:40 (GMT)
committerAdam Gross <grossag@vmware.com>2020-04-02 16:06:40 (GMT)
commitf575eba8904b850c211ceaa9538048e454751375 (patch)
treea234a6fc110b55f6c14b767ba792ee5e77d672e4 /test/Dir
parent80bb32333dfd058da51f24af6267d1f3d1ec110b (diff)
downloadSCons-f575eba8904b850c211ceaa9538048e454751375.zip
SCons-f575eba8904b850c211ceaa9538048e454751375.tar.gz
SCons-f575eba8904b850c211ceaa9538048e454751375.tar.bz2
Fix test on non-Windows, fix sider errors
Diffstat (limited to 'test/Dir')
-rw-r--r--test/Dir/DriveAbsPath.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Dir/DriveAbsPath.py b/test/Dir/DriveAbsPath.py
index 90cef2a..033ac73 100644
--- a/test/Dir/DriveAbsPath.py
+++ b/test/Dir/DriveAbsPath.py
@@ -28,15 +28,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Test to confirm that Dir(drive_path).abspath works on Windows.
"""
-import os
-import stat
-
import TestSCons
from TestCmd import IS_WINDOWS
+test = TestSCons.TestSCons()
if IS_WINDOWS:
- test = TestSCons.TestSCons()
test.dir_fixture('DriveAbsPath')
test.run()