summaryrefslogtreecommitdiff
path: root/test/unittest_utils.py
diff options
context:
space:
mode:
authorTorsten Marek <shlomme@gmail.com>2014-07-26 17:11:14 +0200
committerTorsten Marek <shlomme@gmail.com>2014-07-26 17:11:14 +0200
commitd1448a7e57738393a9b51d890e4cd5f163997f52 (patch)
tree3a297759ab17b823b769784dea7d2c758d1af0c6 /test/unittest_utils.py
parent30793941b79daaeb7368c87eea35614254b65ddd (diff)
downloadpylint-d1448a7e57738393a9b51d890e4cd5f163997f52.tar.gz
Remove dependency on logilab.testlib in the test suite (also removes Python 2.5 compatibility).
Diffstat (limited to 'test/unittest_utils.py')
-rw-r--r--test/unittest_utils.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/unittest_utils.py b/test/unittest_utils.py
index d8c4c67..ef0cda2 100644
--- a/test/unittest_utils.py
+++ b/test/unittest_utils.py
@@ -11,14 +11,14 @@
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-from logilab.common.testlib import TestCase
+import unittest
from astroid import test_utils
from pylint import utils
from pylint.checkers.utils import check_messages
-class PyLintASTWalkerTest(TestCase):
+class PyLintASTWalkerTest(unittest.TestCase):
class MockLinter(object):
def __init__(self, msgs):
self._msgs = msgs
@@ -58,6 +58,5 @@ class PyLintASTWalkerTest(TestCase):
if __name__ == '__main__':
- from logilab.common.testlib import unittest_main
- unittest_main()
+ unittest.main()