summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-05-22 18:19:40 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2020-05-22 18:19:40 (GMT)
commit45df0d7e82d792f8f66bfe41d9123ea0b9c77f74 (patch)
treeb8533e4bc9bb30fd1e87935bb4ac790f7511bdf2
parent6878db720dbcf12e50208917268a47326452735d (diff)
downloadSCons-45df0d7e82d792f8f66bfe41d9123ea0b9c77f74.zip
SCons-45df0d7e82d792f8f66bfe41d9123ea0b9c77f74.tar.gz
SCons-45df0d7e82d792f8f66bfe41d9123ea0b9c77f74.tar.bz2
resolve sider complaints in test fixtures
-rw-r--r--test/fixture/mygcc.py6
-rw-r--r--test/fixture/mylink.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/test/fixture/mygcc.py b/test/fixture/mygcc.py
index d701883..ceb10e5 100644
--- a/test/fixture/mygcc.py
+++ b/test/fixture/mygcc.py
@@ -12,7 +12,7 @@ for opt, arg in opts:
f.write(compiler + "\n")
with open(out, 'w') as ofp, open(args[0], 'r') as ifp:
- for l in ifp.readlines():
- if l[:clen] != '#' + compiler:
- ofp.write(l)
+ for line in ifp.readlines():
+ if line[:clen] != '#' + compiler:
+ ofp.write(line)
sys.exit(0)
diff --git a/test/fixture/mylink.py b/test/fixture/mylink.py
index 85646a4..fe4af58 100644
--- a/test/fixture/mylink.py
+++ b/test/fixture/mylink.py
@@ -9,7 +9,7 @@ for opt, arg in opts:
with open(out, 'w') as ofp:
for f in args:
with open(f, 'r') as ifp:
- for l in ifp.readlines():
- if l[:5] != '#link':
- ofp.write(l)
+ for line in ifp.readlines():
+ if line[:5] != '#link':
+ ofp.write(line)
sys.exit(0)