--- a/tests/f Thu Nov 12 14:29:02 2015 -0800
+++ b/tests/f Mon Nov 09 12:49:31 2015 -0500
@@ -44,7 +44,7 @@
if opts.type:
facts.append('file')
if opts.hexdump or opts.dump or opts.md5:
- content = file(f).read()
+ content = file(f, 'rb').read()
elif islink:
if opts.type:
facts.append('link')