summaryrefslogtreecommitdiffstats
path: root/test/SWIG
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-21 16:57:57 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-09-21 16:57:57 (GMT)
commitf5035c6a61ad10f440a22c14ce22bbb1d6796f62 (patch)
tree804b1383be0b30f3118d5df81db4315bcea1d32e /test/SWIG
parent5f4aa5312e2d37a271233d864573772ae2b512fe (diff)
downloadSCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.zip
SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.gz
SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.bz2
More test fixes.
Diffstat (limited to 'test/SWIG')
-rw-r--r--test/SWIG/SWIGCOM.py2
-rw-r--r--test/SWIG/SWIGCOMSTR.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/SWIG/SWIGCOM.py b/test/SWIG/SWIGCOM.py
index 44602fd..ee3ff64 100644
--- a/test/SWIG/SWIGCOM.py
+++ b/test/SWIG/SWIGCOM.py
@@ -41,7 +41,7 @@ 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 != '/*swig*/\\n']:
+ for l in [l for l in infile.readlines() if l != b'/*swig*/\\n']:
outfile.write(l)
sys.exit(0)
""")
diff --git a/test/SWIG/SWIGCOMSTR.py b/test/SWIG/SWIGCOMSTR.py
index 1df3499..24db13e 100644
--- a/test/SWIG/SWIGCOMSTR.py
+++ b/test/SWIG/SWIGCOMSTR.py
@@ -42,7 +42,7 @@ 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 != '/*swig*/\\n']:
+ for l in [l for l in infile.readlines() if l != b'/*swig*/\\n']:
outfile.write(l)
sys.exit(0)
""")