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

Robert Stanca robert.stanca7 at gmail.com
Sat Apr 2 11:37:40 EDT 2016


# HG changeset patch
# User Robert Stanca <robert.stanca7 at 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

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


More information about the Mercurial-devel mailing list