mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-26 05:17:14 +08:00
fix last failing function tests
This commit is contained in:
@@ -585,7 +585,7 @@ class Execution(Executable):
|
|||||||
array_type = pr.Array.DICT
|
array_type = pr.Array.DICT
|
||||||
if non_matching_keys:
|
if non_matching_keys:
|
||||||
keys, values = zip(*non_matching_keys)
|
keys, values = zip(*non_matching_keys)
|
||||||
else:
|
elif not keys_only:
|
||||||
# normal param
|
# normal param
|
||||||
if value is not None:
|
if value is not None:
|
||||||
values = [value]
|
values = [value]
|
||||||
|
|||||||
@@ -109,10 +109,10 @@ def func(a=1, b=''):
|
|||||||
return a, b
|
return a, b
|
||||||
|
|
||||||
exe = func(b=list, a=tuple)
|
exe = func(b=list, a=tuple)
|
||||||
#? tuple()
|
#? tuple
|
||||||
exe[0]
|
exe[0]
|
||||||
|
|
||||||
#? list()
|
#? list
|
||||||
exe[1]
|
exe[1]
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user