diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-03 19:32:06 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-03 19:32:06 (GMT) |
commit | dd360684403d6c19649da9bca19212fab65fec86 (patch) | |
tree | 0379e968c58de02142b2d6357aa4a63b8c47e0ff /test/packaging | |
parent | 7801b74049c575614aaf1e73e571abf44919c4bc (diff) | |
download | SCons-dd360684403d6c19649da9bca19212fab65fec86.zip SCons-dd360684403d6c19649da9bca19212fab65fec86.tar.gz SCons-dd360684403d6c19649da9bca19212fab65fec86.tar.bz2 |
py2/3 mode=r fix
Diffstat (limited to 'test/packaging')
-rw-r--r-- | test/packaging/rpm/tagging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packaging/rpm/tagging.py b/test/packaging/rpm/tagging.py index 3016274..a558242 100644 --- a/test/packaging/rpm/tagging.py +++ b/test/packaging/rpm/tagging.py @@ -96,7 +96,7 @@ test.fail_test( not os.popen('rpm -qpl %s' % machine_rpm).read()=='/bin/main\n') test.fail_test( not os.popen('rpm -qpl %s' % src_rpm).read()=='foo-1.2.3.spec\nfoo-1.2.3.tar.gz\n') expect = '(0755, root, users) /bin/main' -test.must_contain_all_lines(test.read('foo-1.2.3.spec'), [expect]) +test.must_contain_all_lines(test.read('foo-1.2.3.spec',mode='r'), [expect]) test.pass_test() |