changeset 28728:8699c89f3ae9

py3: use print_function in hypothesishelpers.py
author Robert Stanca <robert.stanca7@gmail.com>
date Sat, 02 Apr 2016 18:15:04 +0300
parents f33280667aa5
children fc2268b9a07c
files tests/hypothesishelpers.py tests/test-check-py3-compat.t
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hypothesishelpers.py	Sat Apr 02 18:14:10 2016 +0300
+++ b/tests/hypothesishelpers.py	Sat Apr 02 18:15:04 2016 +0300
@@ -4,7 +4,7 @@
 #
 # For details see http://hypothesis.readthedocs.org
 
-from __future__ import absolute_import
+from __future__ import absolute_import, print_function
 import os
 import sys
 import traceback
--- a/tests/test-check-py3-compat.t	Sat Apr 02 18:14:10 2016 +0300
+++ b/tests/test-check-py3-compat.t	Sat Apr 02 18:15:04 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 requires print_function
   tests/killdaemons.py not using absolute_import
   tests/md5sum.py not using absolute_import
   tests/mockblackbox.py not using absolute_import