mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-02 02:37:31 +08:00
tests and error catching for double executions
This commit is contained in:
1 parent
3780e44603
commit
e466508b4d
3 files changed
+26
-13
No files matched your search
@@ -98,7 +98,7 @@ u1.real
|
||||
u1.upper
|
||||
|
||||
# -----------------
|
||||
# should fail
|
||||
# should fail (return nothing)
|
||||
# -----------------
|
||||
(f, g) = (1,)
|
||||
#? ['imag']
|
||||
|
||||
@@ -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