[Python-projects] test_func.py failures?

Mads Kiilerich mads at kiilerich.com
Wed Feb 18 20:46:18 CET 2009


With
python-2.6-4.fc11.i386
python-logilab-common-0.38.0-1.fc11.noarch
python-logilab-astng-0.17.4-1.fc11.noarch
and tip of pylint repo I currently get the test_func.py noise and 
failures shown below - is that to be expected?

/Mads


............................Exception RuntimeError: 'maximum recursion 
depth exceeded in __subclasscheck__' in <type 
'exceptions.AttributeError'> ignored
.Exception RuntimeError: 'maximum recursion depth exceeded in 
__subclasscheck__' in <type 'exceptions.AttributeError'> ignored
.......................................................................FF................................................................................................................................................................................................
======================================================================
FAIL: test_functionality (__main__.LintTestUsingModuleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
  File "/tmp/logilab/pylint/test/test_func.py", line 69, in 
test_functionality
    self._test(tocheck)
  File "/tmp/logilab/pylint/test/test_func.py", line 92, in _test
    self.assertLinesEquals(got, expected)
AssertionError: func_module___dict__: list_1 has only 0 elements, not 1 
(at least "E:  5: Using variable '__dict__' before assignment" missing)

                              no stdout                              
                              no stderr                              
======================================================================
FAIL: test_functionality (__main__.LintTestUsingFileTC)
----------------------------------------------------------------------
Traceback (most recent call last)
  File "/tmp/logilab/pylint/test/test_func.py", line 105, in 
test_functionality
    self._test(tocheck)
  File "/tmp/logilab/pylint/test/test_func.py", line 92, in _test
    self.assertLinesEquals(got, expected)
AssertionError: func_module___dict__: list_1 has only 0 elements, not 1 
(at least "E:  5: Using variable '__dict__' before assignment" missing)

                              no stdout                              
                              no stderr                              
----------------------------------------------------------------------
Ran 294 tests in 38.567s

FAILED (failures=2)



More information about the Python-Projects mailing list