D5072: tests: fix last failure in test-tools.t
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Sat Oct 13 10:35:21 UTC 2018
durin42 created this revision.
Herald added a reviewer: pulkit.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5072
AFFECTED FILES
contrib/python3-whitelist
tests/f
CHANGE DETAILS
diff --git a/tests/f b/tests/f
--- a/tests/f
+++ b/tests/f
@@ -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:
diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -575,6 +575,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
To: durin42, pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list