py3: use absolute_import in revlog-formatv0.py
authorRobert Stanca <robert.stanca7@gmail.com>
Sat, 16 Apr 2016 05:33:23 +0300
changeset 28945 05982f7ab231
parent 28944 036787c10b16
child 28946 b12bda49c3e3
py3: use absolute_import in revlog-formatv0.py
tests/revlog-formatv0.py
tests/test-check-py3-compat.t
--- a/tests/revlog-formatv0.py	Sat Apr 16 05:32:10 2016 +0300
+++ b/tests/revlog-formatv0.py	Sat Apr 16 05:33:23 2016 +0300
@@ -17,7 +17,9 @@
 empty file
 """
 
-import os, sys
+from __future__ import absolute_import
+import os
+import sys
 
 files = [
     ('formatv0/.hg/00changelog.i',
--- a/tests/test-check-py3-compat.t	Sat Apr 16 05:32:10 2016 +0300
+++ b/tests/test-check-py3-compat.t	Sat Apr 16 05:33:23 2016 +0300
@@ -44,7 +44,6 @@
   tests/md5sum.py not using absolute_import
   tests/readlink.py not using absolute_import
   tests/readlink.py requires print_function
-  tests/revlog-formatv0.py not using absolute_import
   tests/run-tests.py not using absolute_import
   tests/sitecustomize.py not using absolute_import
   tests/svn-safe-append.py not using absolute_import