diff -r fdaa0e4b7eaf -r 7c23b7de2b8d devtools/testlib.py --- a/devtools/testlib.py Fri Sep 11 14:28:06 2015 +0200 +++ b/devtools/testlib.py Fri Sep 11 14:52:09 2015 +0200 @@ -16,6 +16,8 @@ # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . """this module contains base classes and utilities for cubicweb tests""" +from __future__ import print_function + __docformat__ = "restructuredtext en" import sys @@ -1164,7 +1166,7 @@ cnx.execute(rql, args) except ValidationError as ex: # failed to satisfy some constraint - print 'error in automatic db population', ex + print('error in automatic db population', ex) cnx.commit_state = None # reset uncommitable flag self.post_populate(cnx)