summaryrefslogtreecommitdiffstats
path: root/test/DVIPS
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-20 16:50:54 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-20 16:50:54 (GMT)
commit18e4b000061b0cc22d5fbb44df4e68e740d7afb8 (patch)
tree9160b9feb418baa302cf5c9ed590cf1a66d36f2f /test/DVIPS
parent2ce34914cff387ad0db3e8d3dd4347a79a058640 (diff)
downloadSCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.zip
SCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.tar.gz
SCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.tar.bz2
py2/3 fix win32 py27 failures. Also resolve some py3 failures
Diffstat (limited to 'test/DVIPS')
-rw-r--r--test/DVIPS/DVIPS.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/DVIPS/DVIPS.py b/test/DVIPS/DVIPS.py
index 01f0078..27e89ba 100644
--- a/test/DVIPS/DVIPS.py
+++ b/test/DVIPS/DVIPS.py
@@ -105,13 +105,13 @@ test.write('test4.latex', r"""This is a .latex test.
test.run(arguments = '.', stderr = None)
-test.must_match('test1.ps', "This is a .dvi test.\n")
+test.must_match('test1.ps', "This is a .dvi test.\n", mode='r')
-test.must_match('test2.ps', "This is a .tex test.\n")
+test.must_match('test2.ps', "This is a .tex test.\n", mode='r')
-test.must_match('test3.ps', "This is a .ltx test.\n")
+test.must_match('test3.ps', "This is a .ltx test.\n", mode='r')
-test.must_match('test4.ps', "This is a .latex test.\n")
+test.must_match('test4.ps', "This is a .latex test.\n", mode='r')
have_latex = test.where_is('latex')
@@ -172,7 +172,7 @@ dvips -o bar2.ps bar2.dvi
dvips -o bar3.ps bar3.dvi
"""
- test.must_match('wrapper.out', expect)
+ test.must_match('wrapper.out', expect, mode='r')
test.must_exist(test.workpath('bar1.ps'))
test.must_exist(test.workpath('bar2.ps'))