summaryrefslogtreecommitdiff
path: root/test/Install
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-03 17:43:37 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-03 17:43:37 -0400
commita6514ee88e6b39800d203b012cdd8743756d95ae (patch)
tree916df1e2f573550c31c5b0945689a99599129f4f /test/Install
parent52641920f63a50aa0b03adb393ccaad6f3041b68 (diff)
downloadscons-a6514ee88e6b39800d203b012cdd8743756d95ae.tar.gz
py2/3 swap to must_match and mode=r
Diffstat (limited to 'test/Install')
-rw-r--r--test/Install/InstallAs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Install/InstallAs.py b/test/Install/InstallAs.py
index fe860b00..537ea3a2 100644
--- a/test/Install/InstallAs.py
+++ b/test/Install/InstallAs.py
@@ -75,10 +75,10 @@ Install file: "%(subdir_file3_in)s" as "%(install_file3_out)s"
test.run(arguments = '.', stdout=expect)
-test.fail_test(test.read(install_file1_out) != "file1.in\n")
-test.fail_test(test.read(install_file2_out) != "file2.in\n")
-test.fail_test(test.read(install_file3_out) != "subdir/file3.in\n")
-test.fail_test(test.read(install_file1a_out) != "file1.in\n")
+test.must_match(install_file1_out, "file1.in\n", mode='r')
+test.must_match(install_file2_out, "file2.in\n", mode='r')
+test.must_match(install_file3_out, "subdir/file3.in\n", mode='r')
+test.must_match(install_file1a_out, "file1.in\n", mode='r')
test.up_to_date(arguments = '.')