summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-04 15:53:18 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-04 15:53:18 (GMT)
commit8c13f3194dc2e59c0322021630032441793b6d94 (patch)
tree4b8d45f4f37a145c5554c8a1084e54a3c724b102
parent3cc6d46aee79de51fe5017251a126725c72ceba5 (diff)
downloadSCons-8c13f3194dc2e59c0322021630032441793b6d94.zip
SCons-8c13f3194dc2e59c0322021630032441793b6d94.tar.gz
SCons-8c13f3194dc2e59c0322021630032441793b6d94.tar.bz2
py2/3 mode=r switch to must_match
-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 5e8e66a..80a36c8 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"