summaryrefslogtreecommitdiff
path: root/test/Win32
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-04 11:53:18 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-04 11:53:18 -0400
commit528211ed65c24a538d5e2f01a8695bf6f586e58d (patch)
tree4b8d45f4f37a145c5554c8a1084e54a3c724b102 /test/Win32
parent958f13d462db786f927b70c7b7c4025c36171c49 (diff)
downloadscons-528211ed65c24a538d5e2f01a8695bf6f586e58d.tar.gz
py2/3 mode=r switch to must_match
Diffstat (limited to 'test/Win32')
-rw-r--r--test/Win32/bad-drive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Win32/bad-drive.py b/test/Win32/bad-drive.py
index 5e8e66ac..80a36c86 100644
--- a/test/Win32/bad-drive.py
+++ b/test/Win32/bad-drive.py
@@ -84,7 +84,7 @@ test.write("no_source", "no_source\n")
test.run(arguments = 'aaa.out')
-test.fail_test(test.read('aaa.out') != "aaa.in\n")
+test.must_match('aaa.out', "aaa.in\n", mode='r')
# This next test used to provide a slightly different error message:
# "scons: *** Do not know how to make File target `%snot_mentioned'. Stop.\n"