diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-24 15:46:51 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-24 15:46:51 +0100 |
commit | 46f9405b39883a29d977ff28ea280700b7aecdbe (patch) | |
tree | b96278c861b32e7b692dc2cfce8dd5ba6dedea81 | |
parent | ad70a4bc595b95872b3269d523746dc4610f1a43 (diff) | |
download | pylint-46f9405b39883a29d977ff28ea280700b7aecdbe.tar.gz |
Add test case for issue #559. Closes issue #559.
-rw-r--r-- | pylint/test/functional/unbalanced_tuple_unpacking.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pylint/test/functional/unbalanced_tuple_unpacking.py b/pylint/test/functional/unbalanced_tuple_unpacking.py index 02722c7..bd21a05 100644 --- a/pylint/test/functional/unbalanced_tuple_unpacking.py +++ b/pylint/test/functional/unbalanced_tuple_unpacking.py @@ -97,3 +97,10 @@ def test_decimal(): dec = Decimal(2) first, second, third = dec.as_tuple() return first, second, third + + +def test_issue_559(): + """Test that we don't have a false positive wrt to issue #559.""" + from ctypes import c_int + root_x, root_y, win_x, win_y = [c_int()] * 4 + return root_x, root_y, win_x, win_y |