tests: use absolute_import in hypothesishelpers.py
authorRobert Stanca <robert.stanca7@gmail.com>
Sat, 02 Apr 2016 18:14:10 +0300
changeset 28727 f33280667aa5
parent 28726 f4b31fcd5e72
child 28728 8699c89f3ae9
tests: use absolute_import in hypothesishelpers.py
tests/hypothesishelpers.py
tests/test-check-py3-compat.t
--- 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
--- 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
@@ -41,7 +41,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