From: "weathercoach@..." Date: 2007-11-20T11:45:00+09:00 Subject: Re: exit call in script causes unit test to not run (newby) > > On second thought. Get rid of script_clean entirely. It is useless. > Use Tempfile instead and you'll be happier. Ryan. The script_clean method is also used when an exception is raised not just as the last line of the script, if that was the case I would agree with your recomendation to remove it. Some of the tests I had planned on creating would trigger an exception to make sure my error handling is correct. Part of the error handling is cleaning up any transient files and exiting immediatly to ensure that the script does not continue running and do something unintended. If a call to "exit" impacts the execution of the unit tests I'm trying to understand if I should be using a different approach. Thanks for your suggestions! G.