# HG changeset patch # User Augie Fackler # Date 2017-08-22 21:11:30 # Node ID afb33e73e51525235c12b7fb930823e71201f9fc # Parent ed88f90bb7872a9352bad1ec6dea04b360045be2 tests: update test-relink to pass our import checker diff --git a/tests/test-relink.t b/tests/test-relink.t --- a/tests/test-relink.t +++ b/tests/test-relink.t @@ -8,13 +8,15 @@ > } $ cat > arelinked.py < import sys, os + > from __future__ import absolute_import, print_function + > import os + > import sys > from mercurial import util > path1, path2 = sys.argv[1:3] > if util.samefile(path1, path2): - > print '%s == %s' % (path1, path2) + > print('%s == %s' % (path1, path2)) > else: - > print '%s != %s' % (path1, path2) + > print('%s != %s' % (path1, path2)) > EOF