On 02 octobre 13:19, Nikolaus Rath wrote:
> Nikolaus Rath <[email protected]> writes:
> > 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).
> 
> I assumed that fulltest.sh would work like the setuptools test command
> (which tests the modules before installation).

As you've seen, not, it simply run test again packages found in python path. 

> I first installed pylint and ran the tests afterward now. This time
> there is only one test that fails:
> 
> ===========================  smoketest.py  ===========================
> F...........
> ======================================================================
> FAIL: test0 (smoketest.RunTC)
> ----------------------------------------------------------------------
> Traceback (most recent call last)
>   File "/home/nikratio/tmp/pylint-0.21.2/test/smoketest.py", line 47, in test0
>     code=0)
>   File "/home/nikratio/tmp/pylint-0.21.2/test/smoketest.py", line 36, in 
> _runtest
>     self.assertEquals(ex.code, code)
>   File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
>     (msg or '%r != %r' % (first, second))
> AssertionError: 16 != 0

this test is simply running pylint on its __pkginfo__ file and check the output
status. It seems that a convention message was issued that wasn't expected.

  pylint -rn pylint.__pkginfo__

will probably help to find the issue. On my box, I've

[...@scorpius test]$ pylint -rn pylint.__pkginfo__
No config file found, using default configuration
************* Module pylint.__pkginfo__
I:  1: Locally disabling W0622
I:  1: Locally disabling C0103

and that's it. Using python 2.6.
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to