diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-14 08:13:31 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-14 08:13:31 +0200 |
commit | 5bcdf822c328c4f2878fd4e54490bfee7e1762d5 (patch) | |
tree | 549c353f66a949282fd8a5e465bc4a02ccf957f4 /pylint/test/unittest_checker_python3.py | |
parent | e36fa7af09835580c84fac4eb79c18dab71a8734 (diff) | |
download | pylint-git-5bcdf822c328c4f2878fd4e54490bfee7e1762d5.tar.gz |
`in` is considered iterating context for some of the Python 3 porting checkers
Close #2186
Diffstat (limited to 'pylint/test/unittest_checker_python3.py')
-rw-r--r-- | pylint/test/unittest_checker_python3.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/test/unittest_checker_python3.py b/pylint/test/unittest_checker_python3.py index 20d01d413..f8fc22f48 100644 --- a/pylint/test/unittest_checker_python3.py +++ b/pylint/test/unittest_checker_python3.py @@ -206,6 +206,7 @@ class TestPython3Checker(testutils.CheckerTestCase): 'a, b = {}()', 'max({}())', 'min({}())', + '3 in {}()', ] non_iterating_code = [ 'x = __({}())', |