tests/test-hardlinks.t
changeset 33958 163b6b7f333c
parent 33721 24849d53697d
child 34661 eb586ed5d8ce
--- a/tests/test-hardlinks.t	Tue Aug 22 15:51:18 2017 -0400
+++ b/tests/test-hardlinks.t	Tue Aug 22 15:51:24 2017 -0400
@@ -17,8 +17,9 @@
 Some implementations of cp can't create hardlinks (replaces 'cp -al' on Linux):
 
   $ cat > linkcp.py <<EOF
+  > from __future__ import absolute_import
+  > import sys
   > from mercurial import util
-  > import sys
   > util.copyfiles(sys.argv[1], sys.argv[2], hardlink=True)
   > EOF