summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_noerror_nonregr.py
blob: c4c8c382007b54056f6484ef8656f72fea3ce167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# pylint: disable=W0106
"""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/astroid/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