summaryrefslogtreecommitdiffstats
path: root/test/MSVS
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-12-22 15:44:29 (GMT)
committerMats Wichmann <mats@linux.com>2019-12-23 16:52:35 (GMT)
commita5359e3f10a6bcdb5d9667c95c40ddd890b551e8 (patch)
treedd587ca78a6d4542c6bd968e4590b6671464d39d /test/MSVS
parent5a864bae1380155997f4041d607e4abcf74652ca (diff)
downloadSCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.zip
SCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.tar.gz
SCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.tar.bz2
syntax fixups suggested by PyCharm
Drop unneeded parens. Drop trailing semicolons. Triple double-quote docstrings. Regexes drop unneeded escapes. Spaces around parens, braces: remove/add. Some one-tuples get their missing closing comma. A couple of sets use set init syntax {foo} instead of set([iter]) now. And a fiddle in Node to reduce lookup time on md5 signature functions (came about because of a line-too-long issue, initially) Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/MSVS')
-rw-r--r--test/MSVS/vs-10.0-exec.py2
-rw-r--r--test/MSVS/vs-10.0Exp-exec.py2
-rw-r--r--test/MSVS/vs-11.0-exec.py2
-rw-r--r--test/MSVS/vs-11.0Exp-exec.py2
-rw-r--r--test/MSVS/vs-14.0-exec.py2
-rw-r--r--test/MSVS/vs-14.1-exec.py2
-rw-r--r--test/MSVS/vs-6.0-exec.py2
-rw-r--r--test/MSVS/vs-7.0-exec.py2
-rw-r--r--test/MSVS/vs-7.1-exec.py2
-rw-r--r--test/MSVS/vs-8.0-exec.py2
-rw-r--r--test/MSVS/vs-8.0Exp-exec.py2
-rw-r--r--test/MSVS/vs-9.0-exec.py2
-rw-r--r--test/MSVS/vs-9.0Exp-exec.py2
13 files changed, 13 insertions, 13 deletions
diff --git a/test/MSVS/vs-10.0-exec.py b/test/MSVS/vs-10.0-exec.py
index 090bde8..df13454 100644
--- a/test/MSVS/vs-10.0-exec.py
+++ b/test/MSVS/vs-10.0-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-10.0Exp-exec.py b/test/MSVS/vs-10.0Exp-exec.py
index d6114bd..1c3b561 100644
--- a/test/MSVS/vs-10.0Exp-exec.py
+++ b/test/MSVS/vs-10.0Exp-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-11.0-exec.py b/test/MSVS/vs-11.0-exec.py
index 48acd1c..8286841 100644
--- a/test/MSVS/vs-11.0-exec.py
+++ b/test/MSVS/vs-11.0-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-11.0Exp-exec.py b/test/MSVS/vs-11.0Exp-exec.py
index 6a288a5..e7cffad 100644
--- a/test/MSVS/vs-11.0Exp-exec.py
+++ b/test/MSVS/vs-11.0Exp-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-14.0-exec.py b/test/MSVS/vs-14.0-exec.py
index d2b7112..1d5b9bc 100644
--- a/test/MSVS/vs-14.0-exec.py
+++ b/test/MSVS/vs-14.0-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-14.1-exec.py b/test/MSVS/vs-14.1-exec.py
index 2f593e0..bcf4fbe 100644
--- a/test/MSVS/vs-14.1-exec.py
+++ b/test/MSVS/vs-14.1-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-6.0-exec.py b/test/MSVS/vs-6.0-exec.py
index 0864f76..ab70872 100644
--- a/test/MSVS/vs-6.0-exec.py
+++ b/test/MSVS/vs-6.0-exec.py
@@ -58,7 +58,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-7.0-exec.py b/test/MSVS/vs-7.0-exec.py
index e95ca83..3c41aa5 100644
--- a/test/MSVS/vs-7.0-exec.py
+++ b/test/MSVS/vs-7.0-exec.py
@@ -58,7 +58,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-7.1-exec.py b/test/MSVS/vs-7.1-exec.py
index 11ea617..f66b92d 100644
--- a/test/MSVS/vs-7.1-exec.py
+++ b/test/MSVS/vs-7.1-exec.py
@@ -58,7 +58,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-8.0-exec.py b/test/MSVS/vs-8.0-exec.py
index 4b0a6dd..91e99dd 100644
--- a/test/MSVS/vs-8.0-exec.py
+++ b/test/MSVS/vs-8.0-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-8.0Exp-exec.py b/test/MSVS/vs-8.0Exp-exec.py
index 0e4396d..77cae64 100644
--- a/test/MSVS/vs-8.0Exp-exec.py
+++ b/test/MSVS/vs-8.0Exp-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-9.0-exec.py b/test/MSVS/vs-9.0-exec.py
index 3f823fa..26a115d 100644
--- a/test/MSVS/vs-9.0-exec.py
+++ b/test/MSVS/vs-9.0-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)
diff --git a/test/MSVS/vs-9.0Exp-exec.py b/test/MSVS/vs-9.0Exp-exec.py
index 5a65faf..0c274ba 100644
--- a/test/MSVS/vs-9.0Exp-exec.py
+++ b/test/MSVS/vs-9.0Exp-exec.py
@@ -59,7 +59,7 @@ if env.WhereIs('cl'):
print("os.environ.update(%%s)" %% repr(env['ENV']))
""" % locals())
-if(test.stdout() == ""):
+if test.stdout() == "":
msg = "Visual Studio %s missing cl.exe; skipping test.\n" % msvs_version
test.skip_test(msg)