summaryrefslogtreecommitdiffstats
path: root/test/AR/ARFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/AR/ARFLAGS.py')
-rw-r--r--test/AR/ARFLAGS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/AR/ARFLAGS.py b/test/AR/ARFLAGS.py
index be4e8bd..fad9c19 100644
--- a/test/AR/ARFLAGS.py
+++ b/test/AR/ARFLAGS.py
@@ -36,7 +36,7 @@ test = TestSCons.TestSCons()
test.write("wrapper.py",
"""import os
import sys
-open('%s', 'wb').write("wrapper.py\\n")
+open('%s', 'wb').write(b"wrapper.py\\n")
os.system(" ".join(sys.argv[1:]))
""" % test.workpath('wrapper.out').replace('\\', '\\\\'))
@@ -99,7 +99,7 @@ test.run(arguments = 'b' + _exe,
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-test.fail_test(test.read('wrapper.out') != "wrapper.py\n")
+test.fail_test(test.read('wrapper.out') != b"wrapper.py\n")
test.pass_test()