summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@clnstor.am.local>2013-09-03 22:22:18 +0300
committerroot <root@clnstor.am.local>2013-09-03 22:22:18 +0300
commit93cbf971f535c24e9d7f6b0ed9b591580ffca825 (patch)
tree85e8ef984730807902edae025d2d15e467782b2a
parenta59270163d17a5a72482463403a4f1c53242329a (diff)
downloadpylint-iter.tar.gz
Fix deprecation warnings.iter
-rw-r--r--test/input/func_non_iterator_returned_py30.py4
-rw-r--r--test/input/func_non_iterator_returned_py_30.py4
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