summaryrefslogtreecommitdiff
path: root/test/packaging
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-03 12:32:06 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-03 12:32:06 -0700
commit52641920f63a50aa0b03adb393ccaad6f3041b68 (patch)
tree0379e968c58de02142b2d6357aa4a63b8c47e0ff /test/packaging
parent1c0a53995c7023e15a80b39511d97d67d97a167f (diff)
downloadscons-52641920f63a50aa0b03adb393ccaad6f3041b68.tar.gz
py2/3 mode=r fix
Diffstat (limited to 'test/packaging')
-rw-r--r--test/packaging/rpm/tagging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packaging/rpm/tagging.py b/test/packaging/rpm/tagging.py
index 30162748..a558242c 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()