py3: make tests/hghave use absolute_import
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 13 May 2016 03:31:07 +0530
changeset 29161 f8b274df33dc
parent 29160 0362605b82cf
child 29162 5a3197cbe415
py3: make tests/hghave use absolute_import
tests/hghave
--- a/tests/hghave	Fri May 13 03:28:44 2016 +0530
+++ b/tests/hghave	Fri May 13 03:31:07 2016 +0530
@@ -4,11 +4,12 @@
 prefixed with "no-", the absence of feature is tested.
 """
 
-from __future__ import print_function
+from __future__ import absolute_import, print_function
 
+import hghave
 import optparse
-import os, sys
-import hghave
+import os
+import sys
 
 checks = hghave.checks