equal
deleted
inserted
replaced
1 # -*- coding: utf-8 -*- |
1 # -*- coding: utf-8 -*- |
2 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
4 # |
4 # |
5 # This file is part of CubicWeb. |
5 # This file is part of CubicWeb. |
6 # |
6 # |
7 # CubicWeb is free software: you can redistribute it and/or modify it under the |
7 # CubicWeb is free software: you can redistribute it and/or modify it under the |
21 __docformat__ = "restructuredtext en" |
21 __docformat__ = "restructuredtext en" |
22 |
22 |
23 |
23 |
24 import pkg_resources |
24 import pkg_resources |
25 |
25 |
26 from unittest2 import skipIf |
26 try: |
|
27 from unittest import skipIf |
|
28 except ImportError: |
|
29 from unittest2 import skipIf |
27 |
30 |
28 from logilab.common.testlib import DocTest, TestCase, unittest_main |
31 from logilab.common.testlib import DocTest, TestCase, unittest_main |
29 |
32 |
30 from cubicweb import uilib |
33 from cubicweb import uilib |
31 |
34 |