diff tests/fakepatchtime.py @ 27284:f624b0e69105

tests/fakepatchtime.py: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Dec 2015 22:14:39 -0800
parents a4a41525180c
children 7be2f229285b
line wrap: on
line diff
--- 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,