summaryrefslogtreecommitdiff
path: root/test/Progress
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-06 16:15:36 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-06 16:15:36 -0700
commit05ddb386377671b57b1ab4d9041edb4843ebb37f (patch)
treeefca9e61612d551d22331afa1c8b2807073073ba /test/Progress
parent79bce417e61dae959686967772e25d19617b0457 (diff)
downloadscons-05ddb386377671b57b1ab4d9041edb4843ebb37f.tar.gz
py2/3 swap to bytes for comparison
Diffstat (limited to 'test/Progress')
-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 d7ff3c96..9af55657 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)