tests/fakepatchtime.py
changeset 27284 f624b0e69105
parent 25756 a4a41525180c
child 34772 7be2f229285b
--- a/tests/fakepatchtime.py	Sun Dec 06 22:13:36 2015 -0800
+++ b/tests/fakepatchtime.py	Sun Dec 06 22:14:39 2015 -0800
@@ -1,7 +1,13 @@
 # extension to emulate invoking 'patch.internalpatch()' at the time
 # specified by '[fakepatchtime] fakenow'
 
-from mercurial import extensions, patch as patchmod, util
+from __future__ import absolute_import
+
+from mercurial import (
+    extensions,
+    patch as patchmod,
+    util,
+)
 
 def internalpatch(orig, ui, repo, patchobj, strip,
                   prefix='', files=None,