diff options
Diffstat (limited to 'pylint/test/input/func_noerror_nonregr.py')
-rw-r--r-- | pylint/test/input/func_noerror_nonregr.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pylint/test/input/func_noerror_nonregr.py b/pylint/test/input/func_noerror_nonregr.py new file mode 100644 index 0000000..c4c8c38 --- /dev/null +++ b/pylint/test/input/func_noerror_nonregr.py @@ -0,0 +1,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 |