Skip to content
Snippets Groups Projects
Commit be0a5d2d authored by Augie Fackler's avatar Augie Fackler
Browse files

tests: fix last failure in test-tools.t

Differential Revision: https://phab.mercurial-scm.org/D5072
parent e7e70c03
No related branches found
No related tags found
No related merge requests found
......@@ -573,6 +573,7 @@
test-template-functions.t
test-template-keywords.t
test-template-map.t
test-tools.t
test-transplant.t
test-treemanifest.t
test-ui-color.py
......
......@@ -66,7 +66,7 @@
elif islink:
if opts.type:
facts.append(b'link')
content = os.readlink(f)
content = os.readlink(f).encode('utf8')
elif isstdin:
content = getattr(sys.stdin, 'buffer', sys.stdin).read()
if opts.size:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment