diff options
-rw-r--r-- | test/MSVC/MSVC_UWP_APP.py | 2 | ||||
-rw-r--r-- | test/MSVS/vs-14.3-exec.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/MSVC/MSVC_UWP_APP.py b/test/MSVC/MSVC_UWP_APP.py index ca0bdd7..6ccd117 100644 --- a/test/MSVC/MSVC_UWP_APP.py +++ b/test/MSVC/MSVC_UWP_APP.py @@ -129,7 +129,7 @@ print('env[MSVC_VERSION]=%s' % env.get('MSVC_VERSION')) test.fail_test((vclibstore_path_present is True) or (vclibstorerefs_path_present is True), message='VC Store LIBPATHs present when MSVC_UWP_APP not set (msvc_version=%s)' % msvc_version) -if msvc_141 or msvc_142 or msvs_143: +if msvc_141 or msvc_142 or msvc_143: if msvc_143: test.write('SConstruct', """\ if ARGUMENTS.get('MSVC_UWP_APP'): diff --git a/test/MSVS/vs-14.3-exec.py b/test/MSVS/vs-14.3-exec.py index 0f038f0..840b432 100644 --- a/test/MSVS/vs-14.3-exec.py +++ b/test/MSVS/vs-14.3-exec.py @@ -43,7 +43,7 @@ if sys.platform != 'win32': msvs_version = '14.3' -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) @@ -95,7 +95,7 @@ test.run(chdir='sub dir', arguments='.') test.vcproj_sys_path(test.workpath('sub dir', 'foo.vcxproj')) import SCons.Platform.win32 -system_dll_path = os.path.join( SCons.Platform.win32.get_system_root(), 'System32' ) +system_dll_path = os.path.join(SCons.Platform.win32.get_system_root(), 'System32') os.environ['PATH'] = os.environ['PATH'] + os.pathsep + system_dll_path test.run(chdir='sub dir', |