summaryrefslogtreecommitdiff
path: root/test/unittest_checkers_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_checkers_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_checkers_utils.py')
-rw-r--r--test/unittest_checkers_utils.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/unittest_checkers_utils.py b/test/unittest_checkers_utils.py
index 40186f5..5909cd7 100644
--- a/test/unittest_checkers_utils.py
+++ b/test/unittest_checkers_utils.py
@@ -13,16 +13,12 @@
# 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.
-"""test the pylint.checkers.utils module
-"""
-from __future__ import with_statement
-
-__revision__ = '$Id: unittest_checkers_utils.py,v 1.6 2005-11-02 09:22:07 syt Exp $'
+"""Tests for the pylint.checkers.utils module."""
import sys
+import unittest
from astroid import test_utils
-from logilab.common.testlib import TestCase, unittest_main
from pylint.checkers import utils
try:
@@ -30,7 +26,7 @@ try:
except AttributeError:
__builtins__['mybuiltin'] = 2
-class UtilsTC(TestCase):
+class UtilsTC(unittest.TestCase):
## def test_is_native_builtin(self):
## self.assertEqual(utils.is_native_builtin('min'), True)
@@ -71,5 +67,5 @@ class UtilsTC(TestCase):
self.assertEqual(name.name, 'a')
if __name__ == '__main__':
- unittest_main()
+ unittest.main()