diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-12 23:33:00 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-12 23:33:00 -0400 |
commit | e54039fdd8675b7147293d5c1233e9c8982673a1 (patch) | |
tree | 6b6a57d75f4be82a5864af9fe11af51bd0769b7e /test/Parallel | |
parent | e9697930e73c81fcad8f937a99a3d4aab766a28e (diff) | |
download | scons-e54039fdd8675b7147293d5c1233e9c8982673a1.tar.gz |
py2/3 byte fixes
Diffstat (limited to 'test/Parallel')
-rw-r--r-- | test/Parallel/ref_count.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Parallel/ref_count.py b/test/Parallel/ref_count.py index ce59668c..7ce59109 100644 --- a/test/Parallel/ref_count.py +++ b/test/Parallel/ref_count.py @@ -74,9 +74,9 @@ while args: time.sleep(int(args.pop(0))) contents = '' for ifile in args: - contents = contents + open(ifile, 'rb').read() + contents = contents + open(ifile, 'r').read() for ofile in outputs: - ofp = open(ofile, 'wb') + ofp = open(ofile, 'w') ofp.write('%s: building from %s\\n' % (ofile, " ".join(args))) ofp.write(contents) ofp.close() @@ -136,7 +136,7 @@ test.run(arguments = '-j4 after.out') test.must_match('after.out', """\ after.out: building from after.in after.in -""") +""", mode='r') test.write('file5.c', "file5.c modified\n") @@ -147,7 +147,7 @@ test.run(arguments = '-j4 after.out') test.must_match('after.out', """\ after.out: building from after.in after.in modified -""") +""", mode='r') test.pass_test() |