summaryrefslogtreecommitdiff
path: root/pylint/test/functional/star_needs_assignment_target_py35.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/functional/star_needs_assignment_target_py35.py')
-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}}