diff options
Diffstat (limited to 'test/unittest_checkers_utils.py')
-rw-r--r-- | test/unittest_checkers_utils.py | 12 |
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() |