diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-20 09:50:54 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-20 09:50:54 -0700 |
commit | 5708cdb78937b6672c72de6a92d50a456bbf9eb0 (patch) | |
tree | 9160b9feb418baa302cf5c9ed590cf1a66d36f2f /test/DVIPS | |
parent | b297637e996387cf8a5645c7fcaee662cfc88a6b (diff) | |
download | scons-5708cdb78937b6672c72de6a92d50a456bbf9eb0.tar.gz |
py2/3 fix win32 py27 failures. Also resolve some py3 failures
Diffstat (limited to 'test/DVIPS')
-rw-r--r-- | test/DVIPS/DVIPS.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/DVIPS/DVIPS.py b/test/DVIPS/DVIPS.py index 01f00780..27e89bae 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')) |