# HG changeset patch # User Matt Harbison # Date 2018-10-14 17:05:53 # Node ID 43f0a37bd9ed20b45d73f667acbb0c3035492e1a # Parent da1629c7dda17853c8cbaad0ef14a899af6e9361 py3: byteify extension in test-relink.t diff --git a/tests/test-relink.t b/tests/test-relink.t --- a/tests/test-relink.t +++ b/tests/test-relink.t @@ -11,9 +11,12 @@ > from __future__ import absolute_import, print_function > import os > import sys - > from mercurial import util + > from mercurial import ( + > pycompat, + > util, + > ) > path1, path2 = sys.argv[1:3] - > if util.samefile(path1, path2): + > if util.samefile(pycompat.fsencode(path1), pycompat.fsencode(path2)): > print('%s == %s' % (path1, path2)) > else: > print('%s != %s' % (path1, path2))