diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-04-25 10:00:59 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-04-25 10:00:59 +0200 |
commit | 433413a454e52e12bcdf055d985c9a84a179d401 (patch) | |
tree | 34d5a9dd5e9f3f3c0b0b8fc58608b14e225dbbe0 | |
parent | b2ae0f95dd57c97e44692ddf1f7ec55833b9d6c3 (diff) | |
download | pylint-433413a454e52e12bcdf055d985c9a84a179d401.tar.gz |
fix failing test
-rw-r--r-- | test/input/func_noerror_crash_127416.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/input/func_noerror_crash_127416.py b/test/input/func_noerror_crash_127416.py index 3eb5c10..6c30a79 100644 --- a/test/input/func_noerror_crash_127416.py +++ b/test/input/func_noerror_crash_127416.py @@ -1,3 +1,4 @@ +# pylint: disable=C0111,R0201 """ FUNCTIONALITY """ @@ -9,11 +10,11 @@ class Example(object): """ def method_expects_tuple(self, obj): - m, args = self.method_doesnot_return_tuple(obj) - result = m(args) + meth, args = self.method_doesnot_return_tuple(obj) + result = meth(args) return result def method_doesnot_return_tuple(self, obj): # we want to lock what we have in the inventory, not what is to have # in the future - return {'success': ''} + return {'success': obj} |