summaryrefslogtreecommitdiffstats
path: root/test/ARGUMENTS.py
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-21 16:57:57 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-09-21 16:57:57 (GMT)
commitf5035c6a61ad10f440a22c14ce22bbb1d6796f62 (patch)
tree804b1383be0b30f3118d5df81db4315bcea1d32e /test/ARGUMENTS.py
parent5f4aa5312e2d37a271233d864573772ae2b512fe (diff)
downloadSCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.zip
SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.gz
SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.bz2
More test fixes.
Diffstat (limited to 'test/ARGUMENTS.py')
-rw-r--r--test/ARGUMENTS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ARGUMENTS.py b/test/ARGUMENTS.py
index 4bd2f78..97c97c8 100644
--- a/test/ARGUMENTS.py
+++ b/test/ARGUMENTS.py
@@ -31,13 +31,13 @@ test = TestSCons.TestSCons()
test.write('SConstruct', """
foo = open('foo.out', 'wb')
for k in sorted(ARGUMENTS.keys()):
- foo.write(k + " = " + ARGUMENTS[k] + "\\n")
+ foo.write((k + " = " + ARGUMENTS[k] + "\\n").encode())
foo.close()
""")
test.run(arguments='a=1 bz=3 xx=sd zzz=foo=bar .')
-test.fail_test(test.read('foo.out') != """a = 1
+test.must_match('foo.out', """a = 1
bz = 3
xx = sd
zzz = foo=bar