third_party.pylibs.pylint.src/test/input/func_noerror_nonregr.py
Sylvain Thénault d6ee7aefa1 test fixes
--HG--
branch : astng2
2009-03-13 17:48:40 +01:00

14 lines
395 B
Python

# pylint: disable-msg=W0104
"""snippets of codes which have at some point made pylint crash"""
__revision__ = 1
def function1(cbarg = lambda: None):
"""
File "/usr/lib/python2.4/site-packages/logilab/astng/scoped_nodes.py", line
391, in mularg_class # this method doesn't exist anymore
i = self.args.args.index(argname)
ValueError: list.index(x): x not in list
"""
cbarg().x