Patchwork [08,of,10,V3] tests: use print_function in hypothesishelpers.py

login
register
mail settings
Submitter roby roby
Date April 2, 2016, 3:37 p.m.
Message ID <b241e1b0332e0477f6de.1459611460@roby>
Download mbox | patch
Permalink /patch/14262/
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 1459610104 -10800
#      Sat Apr 02 18:15:04 2016 +0300
# Node ID b241e1b0332e0477f6dec098609b658180cf83fc
# Parent  3d81491e68b9477503705d0bab01f3706259a0fb
tests: use print_function in hypothesishelpers.py

Patch

diff -r 3d81491e68b9 -r b241e1b0332e tests/hypothesishelpers.py
--- 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
diff -r 3d81491e68b9 -r b241e1b0332e tests/test-check-py3-compat.t
--- 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
@@ -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 requires print_function
   tests/killdaemons.py not using absolute_import
   tests/md5sum.py not using absolute_import
   tests/mockblackbox.py not using absolute_import