Handle possible exceptions from inspect module. Exclude 'nose' test drivers from test collection.