backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 11 Feb 2011 13:23:22 +0100
changeset 6982 fe74a45204e3
parent 6980 8e59c2cdcc99 (current diff)
parent 6981 d1a279ece4a0 (diff)
child 6983 0459635ce666
backport stable
--- a/test/unittest_selectors.py	Fri Feb 11 12:17:47 2011 +0100
+++ b/test/unittest_selectors.py	Fri Feb 11 13:23:22 2011 +0100
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -16,6 +16,7 @@
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """unit tests for selectors mechanism"""
+from __future__ import with_statement
 
 from operator import eq, lt, le, gt
 from logilab.common.testlib import TestCase, unittest_main