changeset 28721:ff3be5a325bc

py3: use absolute_import in seq.py
author Robert Stanca <robert.stanca7@gmail.com>
date Sat, 02 Apr 2016 17:28:35 +0300
parents 639e0f1e8ffa
children 2cd8c3b0bd11
files tests/seq.py tests/test-check-py3-compat.t
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/seq.py	Mon Feb 29 17:02:56 2016 +0900
+++ b/tests/seq.py	Sat Apr 02 17:28:35 2016 +0300
@@ -7,6 +7,7 @@
 #   seq START STOP        [START, STOP] stepping by 1
 #   seq START STEP STOP   [START, STOP] stepping by STEP
 
+from __future__ import absolute_import
 import sys
 
 start = 1
--- a/tests/test-check-py3-compat.t	Mon Feb 29 17:02:56 2016 +0900
+++ b/tests/test-check-py3-compat.t	Sat Apr 02 17:28:35 2016 +0300
@@ -54,7 +54,6 @@
   tests/readlink.py requires print_function
   tests/revlog-formatv0.py not using absolute_import
   tests/run-tests.py not using absolute_import
-  tests/seq.py not using absolute_import
   tests/seq.py requires print_function
   tests/silenttestrunner.py not using absolute_import
   tests/silenttestrunner.py requires print_function