summaryrefslogtreecommitdiff
path: root/test/Variables
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-09-21 08:21:38 -0600
committerMats Wichmann <mats@linux.com>2020-09-21 10:39:39 -0600
commit22c489260a659971aa6cea88f1024824fe31152d (patch)
treec67489084dcaa97d8c442033cfd213db0dcd4a19 /test/Variables
parent858ae87bad24f9df9b1731d154e72cf6d06f05de (diff)
downloadscons-git-22c489260a659971aa6cea88f1024824fe31152d.tar.gz
Run autoflake on code
Eliminate unneeded imports, and a few unneeded statements - usually "pass" where it is not syntactically needed. A couple of import try blocks were eliminated or changed when they're "cannot happen" due to current floor Python version. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Variables')
-rw-r--r--test/Variables/BoolVariable.py1
-rw-r--r--test/Variables/EnumVariable.py1
-rw-r--r--test/Variables/PackageVariable.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/test/Variables/BoolVariable.py b/test/Variables/BoolVariable.py
index d25998463..eaf496a70 100644
--- a/test/Variables/BoolVariable.py
+++ b/test/Variables/BoolVariable.py
@@ -28,7 +28,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Test the BoolVariable canned Variable type.
"""
-import os
import TestSCons
diff --git a/test/Variables/EnumVariable.py b/test/Variables/EnumVariable.py
index cf35b9b78..14a8bf375 100644
--- a/test/Variables/EnumVariable.py
+++ b/test/Variables/EnumVariable.py
@@ -28,7 +28,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Test the EnumVariable canned Variable type.
"""
-import os.path
import TestSCons
diff --git a/test/Variables/PackageVariable.py b/test/Variables/PackageVariable.py
index b3fd10a4a..eb143834a 100644
--- a/test/Variables/PackageVariable.py
+++ b/test/Variables/PackageVariable.py
@@ -28,7 +28,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Test the PackageVariable canned Variable type.
"""
-import os
import TestSCons