From 580b28e01b8472a9f0ede7bdf1559181a79297fa Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 12 Jan 2019 03:29:35 -0600 Subject: removed unused imports and other sider changes fixed syntax issue --- test/MSVC/TARGET_ARCH.py | 2 -- test/MSVS/vs-14.1-exec.py | 2 +- test/MSVS/vs-14.1-scc-files.py | 2 -- test/MSVS/vs-14.1-scc-legacy-files.py | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/test/MSVC/TARGET_ARCH.py b/test/MSVC/TARGET_ARCH.py index 9d5c008..a960bd8 100644 --- a/test/MSVC/TARGET_ARCH.py +++ b/test/MSVC/TARGET_ARCH.py @@ -29,8 +29,6 @@ Test the ability to configure the $TARGET_ARCH construction variable. """ import TestSCons -import SCons.Tool.MSCommon.vc as msvc -from SCons.Tool.MSCommon.vc import get_msvc_version_numeric _python_ = TestSCons._python_ diff --git a/test/MSVS/vs-14.1-exec.py b/test/MSVS/vs-14.1-exec.py index d7b4d10..2f593e0 100644 --- a/test/MSVS/vs-14.1-exec.py +++ b/test/MSVS/vs-14.1-exec.py @@ -43,7 +43,7 @@ if sys.platform != 'win32': msvs_version = '14.1' -if not msvs_version in test.msvs_versions(): +if msvs_version not in test.msvs_versions(): msg = "Visual Studio %s not installed; skipping test.\n" % msvs_version test.skip_test(msg) diff --git a/test/MSVS/vs-14.1-scc-files.py b/test/MSVS/vs-14.1-scc-files.py index 6fa12f8..74e055e 100644 --- a/test/MSVS/vs-14.1-scc-files.py +++ b/test/MSVS/vs-14.1-scc-files.py @@ -29,8 +29,6 @@ Test that we can generate Visual Studio 14.1 project (.vcxproj) and solution (.sln) files that contain SCC information and look correct. """ -import os - import TestSConsMSVS test = TestSConsMSVS.TestSConsMSVS() diff --git a/test/MSVS/vs-14.1-scc-legacy-files.py b/test/MSVS/vs-14.1-scc-legacy-files.py index 96e70a9..0444b16 100644 --- a/test/MSVS/vs-14.1-scc-legacy-files.py +++ b/test/MSVS/vs-14.1-scc-legacy-files.py @@ -29,8 +29,6 @@ Test that we can generate Visual Studio 14.1 project (.vcxproj) and solution (.sln) files that contain SCC information and look correct. """ -import os - import TestSConsMSVS test = TestSConsMSVS.TestSConsMSVS() -- cgit v0.12