summaryrefslogtreecommitdiffstats
path: root/test/Progress/TARGET.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-06 23:15:36 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-06 23:15:36 (GMT)
commit072369e0cf1c10f5b88ebd21487f169eb189cf25 (patch)
treeefca9e61612d551d22331afa1c8b2807073073ba /test/Progress/TARGET.py
parent2361be4acf8e9d2ac91a63ea3ba36a03527a726e (diff)
downloadSCons-072369e0cf1c10f5b88ebd21487f169eb189cf25.zip
SCons-072369e0cf1c10f5b88ebd21487f169eb189cf25.tar.gz
SCons-072369e0cf1c10f5b88ebd21487f169eb189cf25.tar.bz2
py2/3 swap to bytes for comparison
Diffstat (limited to 'test/Progress/TARGET.py')
-rw-r--r--test/Progress/TARGET.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Progress/TARGET.py b/test/Progress/TARGET.py
index d7ff3c9..9af5565 100644
--- a/test/Progress/TARGET.py
+++ b/test/Progress/TARGET.py
@@ -50,12 +50,12 @@ test.write('S2.in', "S2.in\n")
test.write('S3.in', "S3.in\n")
test.write('S4.in', "S4.in\n")
-expect = """\
+expect = bytearray("""\
S1.in\r \rS1.out\rCopy("S1.out", "S1.in")
\rS2.in\r \rS2.out\rCopy("S2.out", "S2.in")
\rS3.in\r \rS3.out\rCopy("S3.out", "S3.in")
\rS4.in\r \rS4.out\rCopy("S4.out", "S4.in")
- \rSConstruct\r \r.\r"""
+ \rSConstruct\r \r.\r""",'utf-8')
if os.linesep != '\n':
expect = expect.replace('\n', os.linesep)