summaryrefslogtreecommitdiff
path: root/pylint/test/functional/bad_reversed_sequence.py
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-08-20 17:07:24 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-08-20 17:07:24 +0300
commitffb1a8796a5290852c9cabc0b9ec42ffb1a30de7 (patch)
treeb7d2fec8cae2690c22ec58165c71f2f3736544e9 /pylint/test/functional/bad_reversed_sequence.py
parentf481f84318e414d740295959d14ebc004af30a6f (diff)
downloadpylint-ffb1a8796a5290852c9cabc0b9ec42ffb1a30de7.tar.gz
missing-reversed-argument was removed.
The reason behind this is that this kind of errors should be detected by the type checker for *all* the builtins and not as a special case for the reversed builtin. This will happen shortly in the future.
Diffstat (limited to 'pylint/test/functional/bad_reversed_sequence.py')
-rw-r--r--pylint/test/functional/bad_reversed_sequence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/test/functional/bad_reversed_sequence.py b/pylint/test/functional/bad_reversed_sequence.py
index 852510f..6deb795 100644
--- a/pylint/test/functional/bad_reversed_sequence.py
+++ b/pylint/test/functional/bad_reversed_sequence.py
@@ -39,7 +39,7 @@ def uninferable(seq):
def test(path):
""" test function """
- seq = reversed() # [missing-reversed-argument]
+ seq = reversed() # No argument given
seq = reversed(None) # [bad-reversed-sequence]
seq = reversed([1, 2, 3])
seq = reversed((1, 2, 3))