mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14: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, "")
|
||||
#? int()
|
||||
exe[0]
|
||||
|
||||
#? str()
|
||||
exe[1]
|
||||
|
||||
# illegal args (TypeError)
|
||||
#?
|
||||
args_func(*1)[0]
|
||||
|
||||
_list = [1,""]
|
||||
exe2 = args_func(_list)[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user