mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
failing test for illegal unpacking with *
This commit is contained in:
@@ -160,10 +160,13 @@ def args_func(*args):
|
|||||||
exe = args_func(1, "")
|
exe = args_func(1, "")
|
||||||
#? int()
|
#? int()
|
||||||
exe[0]
|
exe[0]
|
||||||
|
|
||||||
#? str()
|
#? str()
|
||||||
exe[1]
|
exe[1]
|
||||||
|
|
||||||
|
# illegal args (TypeError)
|
||||||
|
#?
|
||||||
|
args_func(*1)[0]
|
||||||
|
|
||||||
_list = [1,""]
|
_list = [1,""]
|
||||||
exe2 = args_func(_list)[0]
|
exe2 = args_func(_list)[0]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user