diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-03 21:43:37 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-03 21:43:37 (GMT) |
commit | 9f917ba625b61071a4c181d98f1e9dada4dbd569 (patch) | |
tree | 916df1e2f573550c31c5b0945689a99599129f4f | |
parent | dd360684403d6c19649da9bca19212fab65fec86 (diff) | |
download | SCons-9f917ba625b61071a4c181d98f1e9dada4dbd569.zip SCons-9f917ba625b61071a4c181d98f1e9dada4dbd569.tar.gz SCons-9f917ba625b61071a4c181d98f1e9dada4dbd569.tar.bz2 |
py2/3 swap to must_match and mode=r
-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 fe860b0..537ea3a 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 = '.') |