> For a small work around, i did the following changes.
> workbook = xlrd.open_workbook(name_of_workbook)
> except IOError:
> sys.exit("Workbook \"%s\" not found" % name_of_workbook)
> Now when workbook is not found, Nose loads the test scripts, it tear down
> every browser instance that pops up, stops the test script and finally gives
> a message Workbook not found.
I don't see any difference between with and without exception
handling. So, why did you do the extra work?
As I mentioned previously, usually only when you know how to handle an
exception should you handle it, which is about 99% of use cases of