diff tests/test-batching.py @ 28731:f8872b507cd3

py3: use absolute_import in test-batching.py
author Robert Stanca <robert.stanca7@gmail.com>
date Sun, 03 Apr 2016 06:05:43 +0300
parents cbbdd085c991
children e2b118592c63
line wrap: on
line diff
--- a/tests/test-batching.py	Sat Apr 02 18:17:23 2016 +0300
+++ b/tests/test-batching.py	Sun Apr 03 06:05:43 2016 +0300
@@ -5,8 +5,15 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-from mercurial.peer import localbatch, batchable, future
-from mercurial.wireproto import remotebatch
+from __future__ import absolute_import
+from mercurial.peer import (
+    localbatch,
+    batchable,
+    future,
+)
+from mercurial.wireproto import (
+    remotebatch,
+)
 
 # equivalent of repo.repository
 class thing(object):