diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-05 15:26:35 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-05 15:26:35 -0700 |
commit | cffabb49313672b1bd67ed8d9dd7c58ffa9aeb2d (patch) | |
tree | 50af3cbe8c1b121992d461eb1f56306b84ef8ce7 /test/TEX | |
parent | 637846affc9b88193340b9da93e4e12c1a5d771c (diff) | |
download | scons-cffabb49313672b1bd67ed8d9dd7c58ffa9aeb2d.tar.gz |
py2/3 bytes/string issues. Added wrapper to re.sub to force items to bytes
Diffstat (limited to 'test/TEX')
-rw-r--r-- | test/TEX/auxiliaries.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEX/auxiliaries.py b/test/TEX/auxiliaries.py index 98cbf410..8d220c56 100644 --- a/test/TEX/auxiliaries.py +++ b/test/TEX/auxiliaries.py @@ -120,7 +120,7 @@ test.write(['docs', 'test.tex'], tex_input) test.run(stderr=None) pdf_output_1 = test.read(['build', 'docs', 'test.pdf']) -ps_output_1 = test.read(['build', 'docs', 'test.ps']) +ps_output_1 = test.read(['build', 'docs', 'test.ps'], mode='r') # Adding blank lines will cause SCons to re-run the builds, but the # actual contents of the output files should be the same modulo @@ -130,7 +130,7 @@ test.write(['docs', 'test.tex'], tex_input + "\n\n\n") test.run(stderr=None) pdf_output_2 = test.read(['build', 'docs', 'test.pdf']) -ps_output_2 = test.read(['build', 'docs', 'test.ps']) +ps_output_2 = test.read(['build', 'docs', 'test.ps'], mode='r') |