summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-05 22:26:35 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-05 22:26:35 (GMT)
commit1e58c30fd679aca066f330df7d06aa8a4b5e4a1a (patch)
tree50af3cbe8c1b121992d461eb1f56306b84ef8ce7 /test
parent7f43e9a8008bd6c2830ee1852f238246e68c1252 (diff)
downloadSCons-1e58c30fd679aca066f330df7d06aa8a4b5e4a1a.zip
SCons-1e58c30fd679aca066f330df7d06aa8a4b5e4a1a.tar.gz
SCons-1e58c30fd679aca066f330df7d06aa8a4b5e4a1a.tar.bz2
py2/3 bytes/string issues. Added wrapper to re.sub to force items to bytes
Diffstat (limited to 'test')
-rw-r--r--test/TEX/auxiliaries.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEX/auxiliaries.py b/test/TEX/auxiliaries.py
index 98cbf41..8d220c5 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')