I just downloaded pylint 0.18.0, and before I start playing with it, I
wanted to validate my environment by running the unit tests.
Everything worked fine on Python 2.5 and 2.6, but I had a few failures
with Python 2.4 in smoketest.py
======================================================================
FAIL: make pylint checking itself
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/duncan/downloads/pylint-0.18.0/test/smoketest.py", line
48, in test1
self._runtest(['--include-ids=y', 'pylint.lint'],
reporter=TextReporter(StringIO()))
File "/home/duncan/downloads/pylint-0.18.0/test/smoketest.py", line
34, in _runtest
self.assertEquals(ex.code, code)
AssertionError: 30 != 28
no stdout
no stderr
(Similarly all the other pylint testing itself checks failed.)
Running pylint on itself with python2.4, I see (among other errors):
E1103:499:PyLinter.check: Instance of 'str' has no 'file' member (but
some types could not be inferred)
Am I missing something, or is this a bug (in the tests, astng or
otherwise).
Thanks
Duncan
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects