py3: use absolute_import in test-duplicateoptions.py
authorRobert Stanca <robert.stanca7@gmail.com>
Sun, 03 Apr 2016 16:56:15 +0300
changeset 28739 d289b8847f23
parent 28738 706f4ab710c8
child 28740 e8ecd1aa3f6c
py3: use absolute_import in test-duplicateoptions.py
tests/test-check-py3-compat.t
tests/test-duplicateoptions.py
--- a/tests/test-check-py3-compat.t	Sun Apr 03 16:34:55 2016 +0300
+++ b/tests/test-check-py3-compat.t	Sun Apr 03 16:56:15 2016 +0300
@@ -56,7 +56,6 @@
   tests/test-demandimport.py not using absolute_import
   tests/test-demandimport.py requires print_function
   tests/test-doctest.py not using absolute_import
-  tests/test-duplicateoptions.py not using absolute_import
   tests/test-duplicateoptions.py requires print_function
   tests/test-filecache.py not using absolute_import
   tests/test-filecache.py requires print_function
--- a/tests/test-duplicateoptions.py	Sun Apr 03 16:34:55 2016 +0300
+++ b/tests/test-duplicateoptions.py	Sun Apr 03 16:56:15 2016 +0300
@@ -1,5 +1,10 @@
+from __future__ import absolute_import
 import os
-from mercurial import ui, commands, extensions
+from mercurial import (
+    commands,
+    extensions,
+    ui,
+)
 
 ignore = set(['highlight', 'win32text', 'factotum'])