diff options
Diffstat (limited to 'test/ARGUMENTS.py')
-rw-r--r-- | test/ARGUMENTS.py | 4 |
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 |