diff options
author | William Blevins <wblevins001@gmail.com> | 2016-09-21 12:57:57 -0400 |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-09-21 12:57:57 -0400 |
commit | b9d9cf51e4518f5a286634f6afd734400b640238 (patch) | |
tree | 804b1383be0b30f3118d5df81db4315bcea1d32e /test/SWIG | |
parent | 3aa07da96b32d1b062ff9cc150fd662f3ef1fa2c (diff) | |
download | scons-b9d9cf51e4518f5a286634f6afd734400b640238.tar.gz |
More test fixes.
Diffstat (limited to 'test/SWIG')
-rw-r--r-- | test/SWIG/SWIGCOM.py | 2 | ||||
-rw-r--r-- | test/SWIG/SWIGCOMSTR.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/SWIG/SWIGCOM.py b/test/SWIG/SWIGCOM.py index 44602fda..ee3ff644 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 1df3499e..24db13e7 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) """) |