diff -r ce04184fbf90 -r ea25d87a8537 cubicweb/devtools/testlib.py --- a/cubicweb/devtools/testlib.py Fri May 20 11:09:46 2016 +0200 +++ b/cubicweb/devtools/testlib.py Fri May 20 14:43:19 2016 +0200 @@ -1,4 +1,4 @@ -# copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +# copyright 2003-2016 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of CubicWeb. @@ -20,6 +20,7 @@ import sys import re +import warnings from os.path import dirname, join, abspath from math import log from contextlib import contextmanager @@ -58,6 +59,9 @@ else: from unittest import TestCase +# in python 2.7, DeprecationWarning are not shown anymore by default +warnings.filterwarnings('default', category=DeprecationWarning) + # provide a data directory for the test class ##################################