summaryrefslogtreecommitdiffstats
path: root/test/DVIPDF/DVIPDFFLAGS.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-12 22:35:12 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-12 22:35:12 (GMT)
commitfac6a93b2fef46b7f0e66caf0dc4cc98d27fa2fb (patch)
tree56594a84735ff0a6a94850fdd5f43a5851bf2073 /test/DVIPDF/DVIPDFFLAGS.py
parent1e010cb43dabeda08a5882f4f93969d217c8eecc (diff)
downloadSCons-fac6a93b2fef46b7f0e66caf0dc4cc98d27fa2fb.zip
SCons-fac6a93b2fef46b7f0e66caf0dc4cc98d27fa2fb.tar.gz
SCons-fac6a93b2fef46b7f0e66caf0dc4cc98d27fa2fb.tar.bz2
py2/3 fix mostly adding mode='r' to must_match
Diffstat (limited to 'test/DVIPDF/DVIPDFFLAGS.py')
-rw-r--r--test/DVIPDF/DVIPDFFLAGS.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/DVIPDF/DVIPDFFLAGS.py b/test/DVIPDF/DVIPDFFLAGS.py
index 51a4c42..b8c53c9 100644
--- a/test/DVIPDF/DVIPDFFLAGS.py
+++ b/test/DVIPDF/DVIPDFFLAGS.py
@@ -100,9 +100,9 @@ test.write('test2.tex', r"""This is a .tex test.
test.run(arguments = '.', stderr = None)
-test.must_match('test1.pdf', " -x\nThis is a .dvi test.\n")
+test.must_match('test1.pdf', " -x\nThis is a .dvi test.\n", mode='r')
-test.must_match('test2.pdf', " -x\nThis is a .tex test.\n")
+test.must_match('test2.pdf', " -x\nThis is a .tex test.\n", mode='r')
@@ -149,21 +149,21 @@ This is the %s LaTeX file.
test.write('bar.tex', tex % 'bar.tex')
- test.run(arguments = 'foo.pdf', stderr = None)
+ test.run(arguments='foo.pdf', stderr=None)
test.must_not_exist(test.workpath('wrapper.out'))
test.must_exist(test.workpath('foo.pdf'))
- test.run(arguments = 'xxx.pdf', stderr = None)
+ test.run(arguments='xxx.pdf', stderr=None)
test.must_not_exist(test.workpath('wrapper.out'))
test.must_not_exist(test.workpath('xxx.dvi'))
- test.run(arguments = 'bar.pdf', stderr = None)
+ test.run(arguments='bar.pdf', stderr=None)
- test.must_match('wrapper.out', "dvipdf bar.dvi bar.pdf\n")
+ test.must_match('wrapper.out', "dvipdf bar.dvi bar.pdf\n", mode='r')
test.must_exist(test.workpath('bar.pdf'))