summaryrefslogtreecommitdiffstats
path: root/test/LINK/LINKCOM.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/LINK/LINKCOM.py')
-rw-r--r--test/LINK/LINKCOM.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/LINK/LINKCOM.py b/test/LINK/LINKCOM.py
index f09e8f8..996e727 100644
--- a/test/LINK/LINKCOM.py
+++ b/test/LINK/LINKCOM.py
@@ -31,18 +31,15 @@ Test the ability to configure the $LINKCOM construction variable.
import TestSCons
_python_ = TestSCons._python_
-_exe = TestSCons._exe
test = TestSCons.TestSCons()
-
-
test.write('mylink.py', r"""
import sys
outfile = open(sys.argv[1], 'wb')
for f in sys.argv[2:]:
infile = open(f, 'rb')
- for l in [l for l in infile.readlines() if l != '/*link*/\n']:
+ for l in [l for l in infile.readlines() if l != b'/*link*/\n']:
outfile.write(l)
sys.exit(0)
""")