Hello,
I'm trying to install pylint 0.21.2, but some of the self tests fail:
Installed astng version is 0.20.1, I tried to install 0.20.2 but some
the tests failed as well (see other mail).
Anyone able to help?
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
going into /home/nikratio/tmp/pylint-0.21.2/test
=================== unittest_pyreverse_writer.py ===================
......
==================== test_func_sample_config.py ====================
No config file found, using default configuration
..................................................................................................................................................................................................................EE......................................................................["E:
46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'F:104:EmptyImplements: failed to resolve interfaces implemented by
EmptyImplements (())',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
F["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'F:104:EmptyImplements: failed to resolve interfaces implemented by
EmptyImplements (())',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
F.....................................................F
======================================================================
ERROR: module test of input file "func_w0401" (LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 84, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 92, in _test
self.linter.check(tocheck)
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
======================================================================
ERROR: file test of input file "func_w0401" (LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 122, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 92, in _test
self.linter.check(tocheck)
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
======================================================================
FAIL: module test of input file "func_interfaces" (LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 84, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 107, in _test
self.assertLinesEquals(got, expected)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1420, in
assertLinesEquals
self.assertListEquals(lines1, lines2, msg)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1393, in
assertListEquals
self.fail('%r != %r for index %d' % (_l1[0], value, i))
File "/usr/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: func_interfaces: 'F:104:EmptyImplements: failed to resolve
interfaces implemented by EmptyImplements (())' != 'W: 71:BadArgument.troc:
Arguments number differs from IMachin interface method' for index 5
no stdout
no stderr
======================================================================
FAIL: file test of input file "func_interfaces" (LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 122, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 107, in _test
self.assertLinesEquals(got, expected)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1420, in
assertLinesEquals
self.assertListEquals(lines1, lines2, msg)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1393, in
assertListEquals
self.fail('%r != %r for index %d' % (_l1[0], value, i))
File "/usr/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: func_interfaces: 'F:104:EmptyImplements: failed to resolve
interfaces implemented by EmptyImplements (())' != 'W: 71:BadArgument.troc:
Arguments number differs from IMachin interface method' for index 5
no stdout
no stderr
======================================================================
FAIL: test_exhaustivity (test_func.TestTests)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 138, in
test_exhaustivity
self.assertEqual(todo, ['E0503', 'E1122', 'I0001'])
File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: ['E0503', 'E1122', 'I0001', 'R0401'] != ['E0503', 'E1122',
'I0001']
no stdout
no stderr
========================= unittest_lint.py =========================
................
========================== test_format.py ==========================
..........................
=========================== test_func.py ===========================
..................................................................................................................................................................................................................EE......................................................................["E:
46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'F:104:EmptyImplements: failed to resolve interfaces implemented by
EmptyImplements (())',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
F["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'F:104:EmptyImplements: failed to resolve interfaces implemented by
EmptyImplements (())',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
F.....................................................F
======================================================================
ERROR: module test of input file "func_w0401" (LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 84, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 92, in _test
self.linter.check(tocheck)
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
======================================================================
ERROR: file test of input file "func_w0401" (LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 122, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 92, in _test
self.linter.check(tocheck)
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
======================================================================
FAIL: module test of input file "func_interfaces" (LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 84, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 107, in _test
self.assertLinesEquals(got, expected)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1420, in
assertLinesEquals
self.assertListEquals(lines1, lines2, msg)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1393, in
assertListEquals
self.fail('%r != %r for index %d' % (_l1[0], value, i))
File "/usr/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: func_interfaces: 'F:104:EmptyImplements: failed to resolve
interfaces implemented by EmptyImplements (())' != 'W: 71:BadArgument.troc:
Arguments number differs from IMachin interface method' for index 5
no stdout
no stderr
======================================================================
FAIL: file test of input file "func_interfaces" (LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 122, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 107, in _test
self.assertLinesEquals(got, expected)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1420, in
assertLinesEquals
self.assertListEquals(lines1, lines2, msg)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1393, in
assertListEquals
self.fail('%r != %r for index %d' % (_l1[0], value, i))
File "/usr/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: func_interfaces: 'F:104:EmptyImplements: failed to resolve
interfaces implemented by EmptyImplements (())' != 'W: 71:BadArgument.troc:
Arguments number differs from IMachin interface method' for index 5
no stdout
no stderr
======================================================================
FAIL: test_exhaustivity (test_func.TestTests)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 138, in
test_exhaustivity
self.assertEqual(todo, ['E0503', 'E1122', 'I0001'])
File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: ['E0503', 'E1122', 'I0001', 'R0401'] != ['E0503', 'E1122',
'I0001']
no stdout
no stderr
=========================== smoketest.py ===========================
............
==================== unittest_checkers_utils.py ====================
.
========================= test_similar.py ==========================
...
=========================== test_regr.py ===========================
.......SS.....
======================================================================
SKIPPED: test_numarray_import (test_regr.NonRegrTC)
test skipped: numarray is not available
======================================================================
SKIPPED: test_numarray_inference (test_regr.NonRegrTC)
test skipped: numarray.random_array is not available
======================= test_import_graph.py =======================
.E
======================================================================
ERROR: test_checker_dep_graphs (test_import_graph.ImportCheckerTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1240, in
_proceed
testfunc(*args, **kwargs)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_import_graph.py", line 53,
in test_checker_dep_graphs
l.check('input')
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
================== unittest_pyreverse_diadefs.py ===================
.......
========================= test_encoding.py =========================
...
*******************************************************************************
Ran 766 test cases in 14.05s (14.00s CPU), 5 errors, 6 failures, 2 skipped
9 modules OK (3 failed)
failures: /home/nikratio/tmp/pylint-0.21.2/test/test_func_sample_config
[5/338], /home/nikratio/tmp/pylint-0.21.2/test/test_func [5/338],
/home/nikratio/tmp/pylint-0.21.2/test/test_import_graph [1/2]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Python 2.6.5
-OO
going into /home/nikratio/tmp/pylint-0.21.2/test
=================== unittest_pyreverse_writer.py ===================
......
==================== test_func_sample_config.py ====================
No config file found, using default configuration
..................................................................................................................................................................................................................EE......................................................................["E:
46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'F:104:EmptyImplements: failed to resolve interfaces implemented by
EmptyImplements (())',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
F["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'F:104:EmptyImplements: failed to resolve interfaces implemented by
EmptyImplements (())',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
F.....................................................F
======================================================================
ERROR: module test of input file "func_w0401" (LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 84, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 92, in _test
self.linter.check(tocheck)
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
======================================================================
ERROR: file test of input file "func_w0401" (LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 122, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 92, in _test
self.linter.check(tocheck)
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
======================================================================
FAIL: module test of input file "func_interfaces" (LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 84, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 107, in _test
self.assertLinesEquals(got, expected)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1420, in
assertLinesEquals
self.assertListEquals(lines1, lines2, msg)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1393, in
assertListEquals
self.fail('%r != %r for index %d' % (_l1[0], value, i))
File "/usr/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: func_interfaces: 'F:104:EmptyImplements: failed to resolve
interfaces implemented by EmptyImplements (())' != 'W: 71:BadArgument.troc:
Arguments number differs from IMachin interface method' for index 5
no stdout
no stderr
======================================================================
FAIL: file test of input file "func_interfaces" (LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 122, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 107, in _test
self.assertLinesEquals(got, expected)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1420, in
assertLinesEquals
self.assertListEquals(lines1, lines2, msg)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1393, in
assertListEquals
self.fail('%r != %r for index %d' % (_l1[0], value, i))
File "/usr/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: func_interfaces: 'F:104:EmptyImplements: failed to resolve
interfaces implemented by EmptyImplements (())' != 'W: 71:BadArgument.troc:
Arguments number differs from IMachin interface method' for index 5
no stdout
no stderr
======================================================================
FAIL: test_exhaustivity (test_func.TestTests)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 138, in
test_exhaustivity
self.assertEqual(todo, ['E0503', 'E1122', 'I0001'])
File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: ['E0503', 'E1122', 'I0001', 'R0401'] != ['E0503', 'E1122',
'I0001']
no stdout
no stderr
========================= unittest_lint.py =========================
................
========================== test_format.py ==========================
..........................
=========================== test_func.py ===========================
..................................................................................................................................................................................................................EE......................................................................["E:
46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'F:104:EmptyImplements: failed to resolve interfaces implemented by
EmptyImplements (())',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
F["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'F:104:EmptyImplements: failed to resolve interfaces implemented by
EmptyImplements (())',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
["E: 46:MissingMethod: Missing method 'truc' from IMachin interface",
"E: 77:InterfaceCantBeFound: Undefined variable 'undefined'",
"E: 88:InterfaceCanNowBeFound: Missing method 'troc' from IMachin interface",
"E: 88:InterfaceCanNowBeFound: Missing method 'truc' from IMachin interface",
'F: 77:InterfaceCantBeFound: failed to resolve interfaces implemented by
InterfaceCantBeFound (undefined)',
'W: 71:BadArgument.troc: Arguments number differs from IMachin interface
method']
F.....................................................F
======================================================================
ERROR: module test of input file "func_w0401" (LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 84, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 92, in _test
self.linter.check(tocheck)
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
======================================================================
ERROR: file test of input file "func_w0401" (LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 122, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 92, in _test
self.linter.check(tocheck)
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
======================================================================
FAIL: module test of input file "func_interfaces" (LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 84, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 107, in _test
self.assertLinesEquals(got, expected)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1420, in
assertLinesEquals
self.assertListEquals(lines1, lines2, msg)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1393, in
assertListEquals
self.fail('%r != %r for index %d' % (_l1[0], value, i))
File "/usr/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: func_interfaces: 'F:104:EmptyImplements: failed to resolve
interfaces implemented by EmptyImplements (())' != 'W: 71:BadArgument.troc:
Arguments number differs from IMachin interface method' for index 5
no stdout
no stderr
======================================================================
FAIL: file test of input file "func_interfaces" (LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 122, in
test_functionality
self._test(tocheck)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 107, in _test
self.assertLinesEquals(got, expected)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1420, in
assertLinesEquals
self.assertListEquals(lines1, lines2, msg)
File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line 1393, in
assertListEquals
self.fail('%r != %r for index %d' % (_l1[0], value, i))
File "/usr/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: func_interfaces: 'F:104:EmptyImplements: failed to resolve
interfaces implemented by EmptyImplements (())' != 'W: 71:BadArgument.troc:
Arguments number differs from IMachin interface method' for index 5
no stdout
no stderr
======================================================================
FAIL: test_exhaustivity (test_func.TestTests)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_func.py", line 138, in
test_exhaustivity
self.assertEqual(todo, ['E0503', 'E1122', 'I0001'])
File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: ['E0503', 'E1122', 'I0001', 'R0401'] != ['E0503', 'E1122',
'I0001']
no stdout
no stderr
=========================== smoketest.py ===========================
............
==================== unittest_checkers_utils.py ====================
.
========================= test_similar.py ==========================
...
=========================== test_regr.py ===========================
.......SS.....
======================================================================
SKIPPED: test_numarray_import (test_regr.NonRegrTC)
test skipped: numarray is not available
======================================================================
SKIPPED: test_numarray_inference (test_regr.NonRegrTC)
test skipped: numarray.random_array is not available
======================= test_import_graph.py =======================
.E
======================================================================
ERROR: test_checker_dep_graphs (test_import_graph.ImportCheckerTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/nikratio/tmp/pylint-0.21.2/test/test_import_graph.py", line 53,
in test_checker_dep_graphs
l.check('input')
File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
checker.close()
File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in
close
self.add_message('RP0401', args=' -> '.join(cycle))
File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in
add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
msg = self._messages[msgid].msg
KeyError: 'RP0401'
no stdout
no stderr
================== unittest_pyreverse_diadefs.py ===================
.......
========================= test_encoding.py =========================
...
*******************************************************************************
Ran 766 test cases in 13.98s (13.93s CPU), 5 errors, 6 failures, 2 skipped
9 modules OK (3 failed)
failures: /home/nikratio/tmp/pylint-0.21.2/test/test_func_sample_config
[5/338], /home/nikratio/tmp/pylint-0.21.2/test/test_func [5/338],
/home/nikratio/tmp/pylint-0.21.2/test/test_import_graph [1/2]
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects