py3: use absolute_import in seq.py
authorRobert Stanca <robert.stanca7@gmail.com>
Sat, 02 Apr 2016 17:28:35 +0300
changeset 28721 ff3be5a325bc
parent 28720 639e0f1e8ffa
child 28722 2cd8c3b0bd11
py3: use absolute_import in seq.py
tests/seq.py
tests/test-check-py3-compat.t
--- 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