diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-20 09:06:51 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-20 09:09:08 +0200 |
commit | cdb789c0330847b6f9898cfdf4c93583cce87f55 (patch) | |
tree | 1c8a49f40863e5ce8a00b6bee9daaa8f589b3504 /pylint/test/unittest_checker_python3.py | |
parent | 4396c89da68b1034be678cd83735fe3fbc9acd99 (diff) | |
download | pylint-git-cdb789c0330847b6f9898cfdf4c93583cce87f55.tar.gz |
[].extend and similar builtin operations don't emit `dict-*-not-iterating` with the Python 3 porting checker
Close #2187
Diffstat (limited to 'pylint/test/unittest_checker_python3.py')
-rw-r--r-- | pylint/test/unittest_checker_python3.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint/test/unittest_checker_python3.py b/pylint/test/unittest_checker_python3.py index f8fc22f48..560fccc7f 100644 --- a/pylint/test/unittest_checker_python3.py +++ b/pylint/test/unittest_checker_python3.py @@ -207,6 +207,9 @@ class TestPython3Checker(testutils.CheckerTestCase): 'max({}())', 'min({}())', '3 in {}()', + 'set().update({}())', + '[].extend({}())', + '{{}}.update({}())', ] non_iterating_code = [ 'x = __({}())', |