From 93cbf971f535c24e9d7f6b0ed9b591580ffca825 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 3 Sep 2013 22:22:18 +0300 Subject: Fix deprecation warnings. --- test/input/func_non_iterator_returned_py30.py | 4 ++-- test/input/func_non_iterator_returned_py_30.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/input/func_non_iterator_returned_py30.py b/test/input/func_non_iterator_returned_py30.py index 65e0e32..6915768 100644 --- a/test/input/func_non_iterator_returned_py30.py +++ b/test/input/func_non_iterator_returned_py30.py @@ -1,6 +1,6 @@ """Check non-iterators returned by __iter__ """ -# pylint: disable-msg=too-few-public-methods +# pylint: disable=too-few-public-methods __revision__ = 0 @@ -17,7 +17,7 @@ class SecondGoodIterator(object): def __iter__(self): return self - def __next__(self): # pylint: disable-msg=no-self-use + def __next__(self): # pylint: disable=no-self-use """ Infinite iterator, but still an iterator """ return 1 diff --git a/test/input/func_non_iterator_returned_py_30.py b/test/input/func_non_iterator_returned_py_30.py index 85a61c2..ff75941 100644 --- a/test/input/func_non_iterator_returned_py_30.py +++ b/test/input/func_non_iterator_returned_py_30.py @@ -1,6 +1,6 @@ """Check non-iterators returned by __iter__ """ -# pylint: disable-msg=too-few-public-methods +# pylint: disable=too-few-public-methods __revision__ = 0 @@ -17,7 +17,7 @@ class SecondGoodIterator(object): def __iter__(self): return self - def next(self): # pylint: disable-msg=no-self-use + def next(self): # pylint: disable=no-self-use """ Infinite iterator, but still an iterator """ return 1 -- cgit v1.2.1