Patchwork [07,of,10,V3] tests: use absolute_import in hypothesishelpers.py

login
register
mail settings
Submitter roby roby
Date April 2, 2016, 3:37 p.m.
Message ID <3d81491e68b947750370.1459611459@roby>
Download mbox | patch
Permalink /patch/14261/
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 1459610050 -10800
#      Sat Apr 02 18:14:10 2016 +0300
# Node ID 3d81491e68b9477503705d0bab01f3706259a0fb
# Parent  f504beb8c1c1af8061e139eb9b337cfc9481bd3a
tests: use absolute_import in hypothesishelpers.py

Patch

diff -r f504beb8c1c1 -r 3d81491e68b9 tests/hypothesishelpers.py
--- a/tests/hypothesishelpers.py	Sat Apr 02 18:12:33 2016 +0300
+++ b/tests/hypothesishelpers.py	Sat Apr 02 18:14:10 2016 +0300
@@ -4,6 +4,7 @@ 
 #
 # For details see http://hypothesis.readthedocs.org
 
+from __future__ import absolute_import
 import os
 import sys
 import traceback
diff -r f504beb8c1c1 -r 3d81491e68b9 tests/test-check-py3-compat.t
--- a/tests/test-check-py3-compat.t	Sat Apr 02 18:12:33 2016 +0300
+++ b/tests/test-check-py3-compat.t	Sat Apr 02 18:14:10 2016 +0300
@@ -43,7 +43,6 @@ 
   i18n/polib.py not using absolute_import
   setup.py not using absolute_import
   tests/heredoctest.py requires print_function
-  tests/hypothesishelpers.py not using absolute_import
   tests/hypothesishelpers.py requires print_function
   tests/killdaemons.py not using absolute_import
   tests/md5sum.py not using absolute_import