summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCezar <devnull@localhost>2015-10-04 14:53:19 +0300
committerCezar <devnull@localhost>2015-10-04 14:53:19 +0300
commit048e86c40eb68908b74dcfd5512a602a24da9ef9 (patch)
tree32625c0b060447a577eaf663f724ab205517021c
parent27a324aa21af1dbdd54ebb2139c666e3e3d64ef9 (diff)
downloadpylint-048e86c40eb68908b74dcfd5512a602a24da9ef9.tar.gz
More PEP 448 tests
-rw-r--r--pylint/test/functional/star_needs_assignment_target_py35.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pylint/test/functional/star_needs_assignment_target_py35.py b/pylint/test/functional/star_needs_assignment_target_py35.py
index 7188c55..d2801de 100644
--- a/pylint/test/functional/star_needs_assignment_target_py35.py
+++ b/pylint/test/functional/star_needs_assignment_target_py35.py
@@ -4,4 +4,7 @@ https://www.python.org/dev/peps/pep-0448/
"""
UNPACK_TUPLE = (*range(4), 4)
UNPACK_LIST = [*range(4), 4]
-UNPACK_DICT = {*range(4), 4}
+UNPACK_SET = {*range(4), 4}
+UNPACK_DICT = {'a': 1, **{'b': '2'}}
+UNPACK_DICT2 = {**UNPACK_DICT, "x": 1, "y": 2}
+UNPACK_DICT3 = {**{'a': 1}, 'a': 2, **{'a': 3}}