changeset 28945:05982f7ab231

py3: use absolute_import in revlog-formatv0.py
author Robert Stanca <robert.stanca7@gmail.com>
date Sat, 16 Apr 2016 05:33:23 +0300
parents 036787c10b16
children b12bda49c3e3
files tests/revlog-formatv0.py tests/test-check-py3-compat.t
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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