[Python-projects] pylint-0.13.0 failing tests

Daniel Drake ddrake at brontes3d.com
Thu Mar 1 18:52:06 CET 2007


On Thu, 2007-03-01 at 18:23 +0100, Sylvain Thénault wrote:
> On Thursday 01 March à 11:58, Daniel Drake wrote:
> > pylint-0.12.2 succeeded with all tests. 0.13.0 has some failures:
> 
> is it using the latest astng library ? I can't reproduce those test
> failures.

Sorry, it wasn't. Now I just get these:

======================================================================
FAIL: test (func_test.TestTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/tmp/portage/dev-python/pylint-0.13.0/temp/test/lib/python/pylint/test/func_test.py", line 120, in test
    self.assertEqual(todo, ['E0503', 'I0001'])
AssertionError: ['E0104', 'E0105', 'E0106', 'E0503', 'I0001', 'I0013',
'W0107', 'W0614'] != ['E0503', 'I0001']

----------------------------------------------------------------------
Ran 248 tests in 5.275s

FAILED (failures=1)
..../usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py:69:
GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
...F....
======================================================================
FAIL: test_numarray_inference (regrtest.NonRegrTC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/logilab/common/testlib.py",
line 781, in _proceed
    testfunc(*args, **kwargs)
  File
"/var/tmp/portage/dev-python/pylint-0.13.0/temp/test/lib/python/pylint/test/regrtest.py", line 97, in test_numarray_inference
    self.failUnlessEqual(got, "E:  5: Instance of 'int' has no 'astype'
member (but some types could not be inferred)")
AssertionError: 'F:  1: No module named regrtest_data/numarray_inf' !=
"E:  5: Instance of 'int' has no 'astype' member (but some types could
not be inferred)"




More information about the Python-Projects mailing list