diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-06 23:15:21 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-06 23:15:21 (GMT) |
commit | 2361be4acf8e9d2ac91a63ea3ba36a03527a726e (patch) | |
tree | 384210ba248a68514836ea89da5906413e133f90 /test/Progress | |
parent | 9b49fabea61340c856b18151224603e3162c84d3 (diff) | |
download | SCons-2361be4acf8e9d2ac91a63ea3ba36a03527a726e.zip SCons-2361be4acf8e9d2ac91a63ea3ba36a03527a726e.tar.gz SCons-2361be4acf8e9d2ac91a63ea3ba36a03527a726e.tar.bz2 |
py2/3 swap to bytes for comparison
Diffstat (limited to 'test/Progress')
-rw-r--r-- | test/Progress/spinner.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Progress/spinner.py b/test/Progress/spinner.py index 85ca32f..59c0a89 100644 --- a/test/Progress/spinner.py +++ b/test/Progress/spinner.py @@ -33,6 +33,7 @@ import os import TestSCons + test = TestSCons.TestSCons(universal_newlines=None) test.write('SConstruct', r""" @@ -50,12 +51,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("""\ \\\r|\rCopy("S1.out", "S1.in") /\r-\rCopy("S2.out", "S2.in") \\\r|\rCopy("S3.out", "S3.in") /\r-\rCopy("S4.out", "S4.in") -\\\r|\r""" +\\\r|\r""",'utf-8') if os.linesep != '\n': expect = expect.replace('\n', os.linesep) |