mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
tests and error catching for double executions
This commit is contained in:
@@ -38,3 +38,9 @@ def variable_rename(param):
|
||||
|
||||
#? ['imag']
|
||||
variable_rename(1).imag
|
||||
|
||||
# double execution -> shouldn't work (and throw no error)
|
||||
#? []
|
||||
variable_rename(list())().
|
||||
#? []
|
||||
variable_rename(1)().
|
||||
|
||||
Reference in New Issue
Block a user