summaryrefslogtreecommitdiffstats
path: root/test/CC
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/CC
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/CC')
-rw-r--r--test/CC/SHCCFLAGS.py2
-rw-r--r--test/CC/SHCFLAGS.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CC/SHCCFLAGS.py b/test/CC/SHCCFLAGS.py
index 72d36b1..0bb349b 100644
--- a/test/CC/SHCCFLAGS.py
+++ b/test/CC/SHCCFLAGS.py
@@ -120,7 +120,7 @@ foomain_obj = barMain.Object(target='foomain', source='main.c')
barmain_obj = barMain.Object(target='barmain', source='main.c')
barMain.Program(target='barprog', source=foomain_obj)
barMain.Program(target='fooprog', source=barmain_obj)
-""" % (barflags))
+""" % barflags)
test.run(arguments = '.')
diff --git a/test/CC/SHCFLAGS.py b/test/CC/SHCFLAGS.py
index 3ec6778..a691dba 100644
--- a/test/CC/SHCFLAGS.py
+++ b/test/CC/SHCFLAGS.py
@@ -120,7 +120,7 @@ foomain_obj = barMain.Object(target='foomain', source='main.c')
barmain_obj = barMain.Object(target='barmain', source='main.c')
barMain.Program(target='barprog', source=foomain_obj)
barMain.Program(target='fooprog', source=barmain_obj)
-""" % (barflags))
+""" % barflags)
test.run(arguments = '.')