diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-03 17:43:37 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-03 17:43:37 -0400 |
commit | a6514ee88e6b39800d203b012cdd8743756d95ae (patch) | |
tree | 916df1e2f573550c31c5b0945689a99599129f4f /test/Install | |
parent | 52641920f63a50aa0b03adb393ccaad6f3041b68 (diff) | |
download | scons-a6514ee88e6b39800d203b012cdd8743756d95ae.tar.gz |
py2/3 swap to must_match and mode=r
Diffstat (limited to 'test/Install')
-rw-r--r-- | test/Install/InstallAs.py | 8 |
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 = '.') |