summaryrefslogtreecommitdiffstats
path: root/SCons/ErrorsTests.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-09-21 14:21:38 (GMT)
committerMats Wichmann <mats@linux.com>2020-09-21 16:39:39 (GMT)
commit22c489260a659971aa6cea88f1024824fe31152d (patch)
treec67489084dcaa97d8c442033cfd213db0dcd4a19 /SCons/ErrorsTests.py
parent858ae87bad24f9df9b1731d154e72cf6d06f05de (diff)
downloadSCons-22c489260a659971aa6cea88f1024824fe31152d.zip
SCons-22c489260a659971aa6cea88f1024824fe31152d.tar.gz
SCons-22c489260a659971aa6cea88f1024824fe31152d.tar.bz2
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 'SCons/ErrorsTests.py')
-rw-r--r--SCons/ErrorsTests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/SCons/ErrorsTests.py b/SCons/ErrorsTests.py
index d777ba1..f3e4ca2 100644
--- a/SCons/ErrorsTests.py
+++ b/SCons/ErrorsTests.py
@@ -24,8 +24,6 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import errno
-import os
-import sys
import unittest
import SCons.Errors