i am not sure we could do that  ex a set a set for x in a print x else print  no no the else block is getting executed no matter what i am surprised  is it a bug or something in python  this is on was wondering why the ut was failing only to discover the above behavior of python 