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
@@ -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