summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-14 07:12:18 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-14 07:12:18 (GMT)
commit78219fcb29554b1b18fba6590dfec57a7b896a94 (patch)
tree1fe321a9ce8c14085aae3e910ed6e38c908c97c2
parent66996d32072e71e0e464c6e380c8d1555c0592a4 (diff)
downloadSCons-78219fcb29554b1b18fba6590dfec57a7b896a94.zip
SCons-78219fcb29554b1b18fba6590dfec57a7b896a94.tar.gz
SCons-78219fcb29554b1b18fba6590dfec57a7b896a94.tar.bz2
Use byte string to fix test on Python 3
-rw-r--r--test/preserve-source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/preserve-source.py b/test/preserve-source.py
index b7eccd1..74fbed5 100644
--- a/test/preserve-source.py
+++ b/test/preserve-source.py
@@ -50,7 +50,7 @@ test.write('aaa.in', "aaa.in\n")
#
test.run(arguments = '.')
-test.fail_test(test.read('aaa.out') != "aaa.in\n")
+test.fail_test(test.read('aaa.out') != b"aaa.in\n")
#
test.run(arguments = "aaa.in",