changeset 28727:f33280667aa5

tests: use absolute_import in hypothesishelpers.py
author Robert Stanca <robert.stanca7@gmail.com>
date Sat, 02 Apr 2016 18:14:10 +0300
parents f4b31fcd5e72
children 8699c89f3ae9
files tests/hypothesishelpers.py tests/test-check-py3-compat.t
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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