diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-14 00:10:22 -0700 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-14 00:10:22 -0700 |
commit | d7a8e7e4b1eac5a820089e5d6bf902143d6151c0 (patch) | |
tree | 692e937dec4fccf784db22bb82e28ba7ef37b507 /test/multiline.py | |
parent | c0d5ef7e02e4bbe4581fcfb6f8dd8abad592f4a2 (diff) | |
download | scons-d7a8e7e4b1eac5a820089e5d6bf902143d6151c0.tar.gz |
Use byte strings to fix test on Python 3.
Diffstat (limited to 'test/multiline.py')
-rw-r--r-- | test/multiline.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/multiline.py b/test/multiline.py index 18b2f21e..4537eae0 100644 --- a/test/multiline.py +++ b/test/multiline.py @@ -60,9 +60,9 @@ test.write('foo3.in', "foo3.in\n") test.run(arguments = 'foo1.out foo2.out foo3.out') -test.fail_test(test.read(test.workpath('foo1.out')) != "foo1.in\n") -test.fail_test(test.read(test.workpath('foo2.out')) != "foo2.in\n") -test.fail_test(test.read(test.workpath('foo3.out')) != "foo3.in\n") +test.fail_test(test.read(test.workpath('foo1.out')) != b"foo1.in\n") +test.fail_test(test.read(test.workpath('foo2.out')) != b"foo2.in\n") +test.fail_test(test.read(test.workpath('foo3.out')) != b"foo3.in\n") test.pass_test() |