tests and error catching for double executions

This commit is contained in:
David Halter
2012-04-25 10:01:53 +02:00
parent 3780e44603
commit e466508b4d
3 changed files with 26 additions and 13 deletions

View File

@@ -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)().