Patchwork [01,of,10,V3] tests: use absolute_import in seq.py

login
register
mail settings
Submitter roby roby
Date April 2, 2016, 3:37 p.m.
Message ID <49bf532c6d4b1e18c8af.1459611453@roby>
Download mbox | patch
Permalink /patch/14255/
State Accepted
Headers show

Comments

roby roby - April 2, 2016, 3:37 p.m.
# HG changeset patch
# User Robert Stanca <robert.stanca7@gmail.com>
# Date 1459607315 -10800
#      Sat Apr 02 17:28:35 2016 +0300
# Node ID 49bf532c6d4b1e18c8af98f15007d4971d184e4e
# Parent  ff0d3b6b287f89594bd8d0308fe2810d2a18ea01
tests: use absolute_import in seq.py

Patch

diff -r ff0d3b6b287f -r 49bf532c6d4b tests/seq.py
--- a/tests/seq.py	Tue Mar 29 12:29:00 2016 -0500
+++ 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
diff -r ff0d3b6b287f -r 49bf532c6d4b tests/test-check-py3-compat.t
--- a/tests/test-check-py3-compat.t	Tue Mar 29 12:29:00 2016 -0500
+++ b/tests/test-check-py3-compat.t	Sat Apr 02 17:28:35 2016 +0300
@@ -56,7 +56,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